Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: cf2e723d6f916d58892288f483d03a71ee3d2ab5
https://github.com/hibernate/hibernate-orm/commit/cf2e723d6f916d58892288f...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacySqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLSqlAstTranslator.java
M
hibernate-envers/src/main/java/org/hibernate/envers/enhanced/OrderedSequenceStructure.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/SinglePropertyMapper.java
M hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java
M
hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
M
hibernate-testing/src/main/java/org/hibernate/testing/transaction/TransactionUtil.java
Log Message:
-----------
HHH-16228 Dialect instance might be wrapped when doing instanceof checks for
capabilities
To properly support the idea of wrapping the Dialect, we need
to take this into account whenever an `instanceof` is used
to check for Dialect capabilities.
Also some code is casting to the expected Dialect.