or(restrictions) - JPA CriteriaBuilder's method
Method javax.persistence.criteria.CriteriaBuilder
Predicate or(
Predicate... restrictions
)
Create a disjunction of the given restriction predicates. A disjunction of zero predicates is false.
- Parameters:
-
restrictions
- zero or more restriction predicates
- Returns:
- or predicate
- Since:
- JPA 2.0