greater Than
fun <T, P : Comparable<P>> KProperty1<T, P?>.greaterThan(path: Path<T>, criteriaBuilder: CriteriaBuilder, value: P): Predicate(source)
Creates a Predicate that checks if the property is greater than the given value.
Receiver
T – the type of the entity.
P - the type of the property, which must be Comparable.
Return
A Predicate that checks if the property is greater than the given value.
Parameters
path
The path of the entity.
criteria Builder
The criteria builder.
value
The value to compare against.