mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
61dd9fce73
In gh-30549 we applied changes to the `DefaultPersistenceUnitManager` to use the `ValidationMode.CALLBACK` to better detect invalid validation setup and enforce bootstrap failures in those cases. Unfortunately, doing so disables the detection of validation annotation on entities during the schema creation phase. This is a known Hibernate issue. This commit reverts this change until HHH-12287 is fixed. Fixes gh-31726