HHH-18068 fix for H7

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-05-03 22:05:45 +02:00 committed by Steve Ebersole
parent 5531db70f8
commit 2890b178aa
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ public class SqmUtil {
return new SqmSortSpecification(
new SqmAliasedNodeRef( element, builder.getIntegerType(), builder ),
order.getDirection(),
order.getNullPrecedence(),
order.getNullPrecedence().getJpaValue(),
order.isCaseInsensitive()
);
}