or(x, y) - JPA CriteriaBuilder's method Method javax.persistence.criteria.CriteriaBuilderPredicate or( Expression<T> x, Expression<T> y) Create a disjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns: or predicate Since: JPA 2.0 < CriteriaBuilder^ CriteriaBuilderCriteriaQuery >