greaterThan(x, y) - JPA CriteriaBuilder's method
Method javax.persistence.criteria.CriteriaBuilder
Predicate greaterThan(
Expression<?> x,
Expression<?> y
)
Create a predicate for testing whether the first argument is greater than the second.
- Parameters:
-
x
- expressiony
- expression
- Returns:
- greater-than predicate
- Since:
- JPA 2.0