HHH-17016 Cast to the correct MySQL dialect

This commit is contained in:
marko-bekhta 2023-07-31 18:56:40 +02:00 committed by Christian Beikov
parent ba25ebbfb5
commit 3365c6f585
1 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@
package org.hibernate.community.dialect;
import org.hibernate.dialect.DialectDelegateWrapper;
import org.hibernate.dialect.MySQLDialect;
import org.hibernate.dialect.MySQLSqlAstTranslator;
import org.hibernate.engine.spi.SessionFactoryImplementor;
import org.hibernate.query.sqm.ComparisonOperator;
@ -245,8 +244,8 @@ public class MySQLLegacySqlAstTranslator<T extends JdbcOperation> extends Abstra
}
@Override
public MySQLDialect getDialect() {
return (MySQLDialect) DialectDelegateWrapper.extractRealDialect( super.getDialect() );
public MySQLLegacyDialect getDialect() {
return (MySQLLegacyDialect) DialectDelegateWrapper.extractRealDialect( super.getDialect() );
}
@Override