spring-framework/spring-orm
Brian Clozel 61dd9fce73 Revert ValidationMode.CALLBACK on JPA bootstrap
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
2023-12-06 18:34:42 +01:00
..
src Revert ValidationMode.CALLBACK on JPA bootstrap 2023-12-06 18:34:42 +01:00
spring-orm.gradle Revert ValidationMode.CALLBACK on JPA bootstrap 2023-12-06 18:34:42 +01:00