equal(x, y) - JPA CriteriaBuilder's method
Method javax.persistence.criteria.CriteriaBuilder
Predicate equal(
Expression<?> x,
Expression<?> y
)
Create a predicate for testing the arguments for equality.
- Parameters:
-
x
- expressiony
- expression
- Returns:
- equality predicate
- Since:
- JPA 2.0