[id="ref_rn-qdocs-1153-hibernate-orm-bean-validation_{context}"]
= Hibernate ORM: Bean Validation Integration Now Contributes to DDL by Default
In {ProductLongName} {ProductVersion}, the default behavior of Hibernate ORM's Bean Validation integration has changed.
Previously, validation constraints were not considered during Data Definition Language (DDL) generation.
Now, Hibernate ORM includes validation constraints in DDL by default, ensuring that database schemas align more closely with application-level constraints.
To revert to the previous behavior where validation constraints do not influence DDL generation, set the `quarkus.hibernate-orm.validation.mode` configuration property to `callback`:
----
quarkus.hibernate-orm.validation.mode=callback
----
The `quarkus.hibernate-orm.validation.enabled` property has also been deprecated.
To disable Bean Validation integration, use the following setting:
----
quarkus.hibernate-orm.validation.mode=none
----
For more details on these changes and guidance on migrating your application, refer to the link:
https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.19#hibernate-orm[Migration Guide 3.19].
//
https://issues.redhat.com/browse/QDOCS-1153
include::rn/ref_rn-qdocs-1153-hibernate-orm-bean-validation.adoc[leveloffset=+2]