JPA Methodin javax.persistence.criteria.CommonAbstractCriteriaPredicate getRestriction() Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified. Return: where clause predicateSince:JPA 2.1