notEqual

fun <T, P> KProperty1<T, P>.notEqual(path: Path<T>, criteriaBuilder: CriteriaBuilder, value: P): Predicate(source)

Creates a Predicate that checks if the property is not equal to the given value.

Receiver

T – the type of the entity.

P - the type of the property.

Return

A Predicate that checks if the property is not equal to the given value.

Parameters

path

The path of the entity.

criteriaBuilder

The criteria builder.

value

The value to compare against.