mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
HHH-17772 Use Dialect#getLowercaseFunction instead of hard coding to lower
This commit is contained in:
parent
568ad5804e
commit
c1746f5f82
@ -4401,7 +4401,8 @@ protected void visitSortSpecification(
|
||||
}
|
||||
|
||||
if ( ignoreCase ) {
|
||||
appendSql("lower(");
|
||||
appendSql( dialect.getLowercaseFunction() );
|
||||
appendSql( OPEN_PARENTHESIS );
|
||||
}
|
||||
|
||||
if ( inOverOrWithinGroupClause() ) {
|
||||
@ -4412,7 +4413,7 @@ protected void visitSortSpecification(
|
||||
}
|
||||
|
||||
if ( ignoreCase ) {
|
||||
appendSql(")");
|
||||
appendSql( CLOSE_PARENTHESIS );
|
||||
}
|
||||
|
||||
if ( sortOrder == SortDirection.DESCENDING ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user