JPA Method
in javax.persistence.criteria.CriteriaBuilder

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


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