Predicate like(
Expression<String> x,
String pattern,
Expression<Character> escapeChar
)
Create a predicate for testing whether the expression satisfies the given pattern.
- Parameters:
x
- string expressionpattern
- stringescapeChar
- escape character expression
- Return:
- like predicate
- Since:
- JPA 2.0