notLikeRegexp

fun <T> KProperty1<T, String>.notLikeRegexp(path: Path<T>, criteriaBuilder: CriteriaBuilder, pattern: String): Predicate(source)

Creates a Predicate that checks if the property does not match the given POSIX regex pattern (case-sensitive).

Return

A Predicate that checks if the property does not match the pattern.

Parameters

path

The path of the entity.

criteriaBuilder

The criteria builder.

pattern

The POSIX regex pattern to match against.

Type Parameters

T

the type of the entity.


@JvmName(name = "notLikeRegexpNullable")
fun <T> KProperty1<T, String?>.notLikeRegexp(path: Path<T>, criteriaBuilder: CriteriaBuilder, pattern: String): Predicate(source)

Creates a Predicate that checks if the property does not match the given POSIX regex pattern, case-sensitive (nullable version).

Return

A Predicate that checks if the property does not match the pattern.

Parameters

path

The path of the entity.

criteriaBuilder

The criteria builder.

pattern

The POSIX regex pattern to match against.

Type Parameters

T

the type of the entity.


fun <ROOT> NestedProperty<ROOT, String>.notLikeRegexp(path: Path<ROOT>, criteriaBuilder: CriteriaBuilder, pattern: String): Predicate(source)

Creates a Predicate that checks if the nested String property does not match the given POSIX regex pattern (case-sensitive).

Return

A Predicate that checks if the nested property does not match the pattern.

Parameters

path

The path of the root entity.

criteriaBuilder

The criteria builder.

pattern

The POSIX regex pattern to match against.

Type Parameters

ROOT

the root entity type.


@JvmName(name = "nestedNotLikeRegexpNullable")
fun <ROOT> NestedProperty<ROOT, String?>.notLikeRegexp(path: Path<ROOT>, criteriaBuilder: CriteriaBuilder, pattern: String): Predicate(source)

Creates a Predicate that checks if the nested nullable String property does not match the given POSIX regex pattern, case-sensitive (nullable version).

Return

A Predicate that checks if the nested property does not match the pattern.

Parameters

path

The path of the root entity.

criteriaBuilder

The criteria builder.

pattern

The POSIX regex pattern to match against.

Type Parameters

ROOT

the root entity type.