Branch: refs/heads/6.2
Home:
https://github.com/hibernate/hibernate-orm
Commit: e170eb33d11009ac069041cd133782055621a834
https://github.com/hibernate/hibernate-orm/commit/e170eb33d11009ac069041c...
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.