JPA Methodin javax.persistence.criteria.AbstractQueryPredicate getGroupRestriction() Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified. Return: having clause predicateSince:JPA 2.0