arrayNotContains

fun <T, E> KProperty1<T, Collection<E>>.arrayNotContains(path: Path<T>, criteriaBuilder: CriteriaBuilder, value: E): Predicate(source)

Creates a Predicate that tests whether an element is not contained in a native array column. Use this for properties mapped with @JdbcTypeCode(SqlTypes.ARRAY).

Receiver

T – the type of the entity.

E - the type of the element in the array.

Return

A Predicate that tests whether an element is not contained in the native array column.

Parameters

path

The path of the entity.

criteriaBuilder

The criteria builder.

value

The element value to check for non-containment.


fun <ROOT, E, PROP : Collection<E>> NestedProperty<ROOT, PROP>.arrayNotContains(path: Path<ROOT>, criteriaBuilder: CriteriaBuilder, value: E): Predicate(source)

Creates a Predicate that tests whether an element is not contained in a nested native array column. Use this for properties mapped with @JdbcTypeCode(SqlTypes.ARRAY).

Receiver

ROOT – the root entity type.

E - the type of the element in the array.

PROP - the type of the Collection property.

Return

A Predicate that tests whether an element is not contained in the nested native array column.

Parameters

path

The path of the root entity.

criteriaBuilder

The criteria builder.

value

The element value to check for non-containment.