not Like
fun <T> KProperty1<T, String>.notLike(path: Path<T>, criteriaBuilder: CriteriaBuilder, pattern: String): Predicate(source)
Creates a Predicate that checks if the property does not match the given pattern.
Receiver
T – the type of the entity.
Return
A Predicate that checks if the property does not match the pattern.
Parameters
path
The path of the entity.
criteria Builder
The criteria builder.
pattern
The pattern to match against.
fun <T> KProperty1<T, String?>.notLike(path: Path<T>, criteriaBuilder: CriteriaBuilder, pattern: String): Predicate(source)
Creates a Predicate that checks if the property does not match the given pattern (nullable version).
Receiver
T – the type of the entity.
Return
A Predicate that checks if the property does not match the pattern.
Parameters
path
The path of the entity.
criteria Builder
The criteria builder.
pattern
The pattern to match against.