ObjectDB ObjectDB

and(restrictions) - JPA CriteriaBuilder's method

Create a conjunction of the given restriction predicates. A conjunction of zero predicates is true.
Parameters:
restrictions - zero or more restriction predicates
Returns:
and predicate
Since:
JPA 2.0