JPA Method
in javax.persistence.criteria.CriteriaBuilder

Predicate gt(
  Expression<?extendsNumber> x, 
  Number y
)


Create a predicate for testing whether the first argument is greater than the second.
Parameters:
x - expression
y - value
Return:
greater-than predicate
Since:
JPA 2.0