Jakarta Persistence (JPA) Method

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:
Jakarta Persistence (JPA) 1.0