JPA Method
in javax.persistence.criteria.CriteriaBuilder

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


Create a predicate for testing whether the first argument is between the second and third arguments in value.
Parameters:
v - expression
x - value
y - value
Return:
between predicate
Since:
JPA 2.0