JPA Method
in javax.persistence.criteria.CriteriaBuilder

Predicate lessThan(
  Expression<?extendsY> x, 
  Y y
)


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