HHH-17016 Cast to the correct MySQL dialect
This commit is contained in:
parent
ba25ebbfb5
commit
3365c6f585
|
@ -7,7 +7,6 @@
|
||||||
package org.hibernate.community.dialect;
|
package org.hibernate.community.dialect;
|
||||||
|
|
||||||
import org.hibernate.dialect.DialectDelegateWrapper;
|
import org.hibernate.dialect.DialectDelegateWrapper;
|
||||||
import org.hibernate.dialect.MySQLDialect;
|
|
||||||
import org.hibernate.dialect.MySQLSqlAstTranslator;
|
import org.hibernate.dialect.MySQLSqlAstTranslator;
|
||||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||||
import org.hibernate.query.sqm.ComparisonOperator;
|
import org.hibernate.query.sqm.ComparisonOperator;
|
||||||
|
@ -245,8 +244,8 @@ public class MySQLLegacySqlAstTranslator<T extends JdbcOperation> extends Abstra
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public MySQLDialect getDialect() {
|
public MySQLLegacyDialect getDialect() {
|
||||||
return (MySQLDialect) DialectDelegateWrapper.extractRealDialect( super.getDialect() );
|
return (MySQLLegacyDialect) DialectDelegateWrapper.extractRealDialect( super.getDialect() );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue