HHH-17772 Use Dialect#getLowercaseFunction instead of hard coding to lower
This commit is contained in:
parent
568ad5804e
commit
c1746f5f82
|
@ -4401,7 +4401,8 @@ public abstract class AbstractSqlAstTranslator<T extends JdbcOperation> implemen
|
|||
}
|
||||
|
||||
if ( ignoreCase ) {
|
||||
appendSql("lower(");
|
||||
appendSql( dialect.getLowercaseFunction() );
|
||||
appendSql( OPEN_PARENTHESIS );
|
||||
}
|
||||
|
||||
if ( inOverOrWithinGroupClause() ) {
|
||||
|
@ -4412,7 +4413,7 @@ public abstract class AbstractSqlAstTranslator<T extends JdbcOperation> implemen
|
|||
}
|
||||
|
||||
if ( ignoreCase ) {
|
||||
appendSql(")");
|
||||
appendSql( CLOSE_PARENTHESIS );
|
||||
}
|
||||
|
||||
if ( sortOrder == SortDirection.DESCENDING ) {
|
||||
|
|
Loading…
Reference in New Issue