[hibernate/hibernate-orm] 73edba: HHH-18079 Default to minimum supported DB version ...
by Yoann Rodière
Branch: refs/heads/6.5
Home: https://github.com/hibernate/hibernate-orm
Commit: 73edbac469a14086f8f068674b1daa96a7110d77
https://github.com/hibernate/hibernate-orm/commit/73edbac469a14086f8f0686...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentInitiator.java
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/database/metadata/MetadataAccessTests.java
Log Message:
-----------
HHH-18079 Default to minimum supported DB version in more cases
In particular when using hibernate.boot.allow_jdbc_metadata_access=false with jakarta.persistence.database-product-name
Commit: 32d4f1596e2a2bfb93c90e9e8c2e734c880a2f6a
https://github.com/hibernate/hibernate-orm/commit/32d4f1596e2a2bfb93c90e9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/AltibaseDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2iLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2zLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2zDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DatabaseVersion.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentInitiator.java
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/database/metadata/MetadataAccessTests.java
M hibernate-testing/src/main/java/org/hibernate/testing/logger/TriggerOnPrefixLogListener.java
Log Message:
-----------
HHH-18080 Fix default version handling in dialects when not using JDBC metadata
* Use the minimum supported version instead of '0.0.0'
* Don't warn about version '0.0.0'
Compare: https://github.com/hibernate/hibernate-orm/compare/b98ee83b8d3a...32d4f15...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
6 months, 4 weeks