arrayNotIntersects

fun <T, E> KProperty1<T, Array<E>>.arrayNotIntersects(path: Path<T>, criteriaBuilder: CriteriaBuilder, subArray: Array<E>): Predicate(source)

Creates a Predicate that tests whether a native array column does not share any element with the given sub-array. Use this for properties mapped with @JdbcTypeCode(SqlTypes.ARRAY) and typed as Array.

Return

A Predicate that tests whether the native array column does not intersect with the given sub-array.

Parameters

path

The path of the entity.

criteriaBuilder

The criteria builder.

subArray

The sub-array to check for overlap.

Type Parameters

T

the type of the entity.

E

the type of the element in the array.


fun <ROOT, E> NestedProperty<ROOT, Array<E>>.arrayNotIntersects(path: Path<ROOT>, criteriaBuilder: CriteriaBuilder, subArray: Array<E>): Predicate(source)

Creates a Predicate that tests whether a nested native array column does not share any element with the given sub-array. Use this for properties mapped with @JdbcTypeCode(SqlTypes.ARRAY) and typed as Array.

Return

A Predicate that tests whether the nested native array column does not intersect with the given sub-array.

Parameters

path

The path of the root entity.

criteriaBuilder

The criteria builder.

subArray

The sub-array to check for overlap.

Type Parameters

ROOT

the root entity type.

E

the type of the element in the array.