mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-19 19:29:03 +00:00
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