ObjectDB ObjectDB

having(restriction) - JPA CriteriaQuery's method

Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any. This method only overrides the return type of the corresponding AbstractQuery method.
Parameters:
restriction - a simple or compound boolean expression
Returns:
the modified query
Since:
JPA 2.0