:_mod-docs-content-type: REFERENCE
[id="ref_rn-qdocs-1304-hibernate-orm-database-version-checks_{context}"]
= Hibernate ORM database version checks
In {ProductLongName} {ProductVersion}, Hibernate ORM improves its database version checks.
These checks already existed; this update enhances database version detection accuracy and enables the checks in more cases during startup.
If the application startup fails the version check, set the correct database version for your dialect or upgrade the database to a supported version.
For example, when using `CockroachDialect`, set the CockroachDB version (not a PostgreSQL version) to match the server your application connects to.
For more details, see the related resources:
* link:
https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.25#database-versions-checks[Migration Guide 3.25]
//
https://issues.redhat.com/browse/QDOCS-1304
// SME: Yoann Rodière
// Data
// Breaking change
// include::rn/ref_rn-qdocs-1304-hibernate-orm-database-version-checks.adoc[leveloffset=+2]