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