ObjectDB ObjectDB

having(restrictions) - JPA AbstractQuery's method

Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously having added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.
Parameters:
restrictions - zero or more restriction predicates
Returns:
the modified query
Since:
JPA 2.0