HHH-17493 Ensure case insensitivity is retained in negated copy
This commit is contained in:
parent
089a935cb6
commit
0709709c97
|
@ -143,12 +143,13 @@ public class SqmLikePredicate extends AbstractNegatableSqmPredicate {
|
|||
|
||||
@Override
|
||||
protected SqmNegatablePredicate createNegatedNode() {
|
||||
return new SqmLikePredicate( matchExpression, pattern, escapeCharacter, !isNegated(), nodeBuilder() );
|
||||
}
|
||||
|
||||
@Override
|
||||
public SqmNegatablePredicate not() {
|
||||
negate();
|
||||
return this;
|
||||
return new SqmLikePredicate(
|
||||
matchExpression,
|
||||
pattern,
|
||||
escapeCharacter,
|
||||
!isNegated(),
|
||||
isCaseSensitive,
|
||||
nodeBuilder()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue