HHH-15850 Check if escape character is null in QuerySplitter
This commit is contained in:
parent
061fb1e59c
commit
6e87b38aee
|
@ -913,7 +913,9 @@ public class QuerySplitter {
|
|||
return new SqmLikePredicate(
|
||||
(SqmExpression<?>) predicate.getMatchExpression().accept( this ),
|
||||
(SqmExpression<?>) predicate.getPattern().accept( this ),
|
||||
(SqmExpression<?>) predicate.getEscapeCharacter().accept( this ),
|
||||
predicate.getEscapeCharacter() == null ?
|
||||
null :
|
||||
(SqmExpression<?>) predicate.getEscapeCharacter().accept( this ),
|
||||
predicate.nodeBuilder()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue