between(v, x, y) - JPA CriteriaBuilder's method

Method
javax.persistence.criteria.CriteriaBuilder
Predicate between(
  Expression<?> 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
Returns:
between predicate
Since:
JPA 2.0