ObjectDB ObjectDB

notLike(x, pattern) - JPA CriteriaBuilder's method

Method
javax.persistence.criteria.CriteriaBuilder
Predicate notLike(
  Expression<String> x,
  String pattern
)

Create a predicate for testing whether the expression does not satisfy the given pattern.
Parameters:
x - string expression
pattern - string
Returns:
not-like predicate
Since:
JPA 2.0