About restriction

1-10 of 87Refresh
Manual
82

WHERE clause (JPQL / Criteria API)

Restriction The first where method takes one Expression argument and uses it as ... ); q.where(cb.gt(c.get("population"), p)); Multiple Restrictions The second where method takes
JPA Doc
65

having(restrictions)

... restrictions ) 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
JPA Doc
65

having(restrictions)

... restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed. This method only overrides
JPA Doc
65

having(restrictions)

Method javax.persistence.criteria.Subquery Subquery having(   Predicate... restrictions ) Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s), if any. If no restrictions
JPA Doc
65

where(restrictions)

Method javax.persistence.criteria.AbstractQuery AbstractQuery where(   Predicate... restrictions ) Modify the query to restrict the query results according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions
JPA Doc
65

where(restrictions)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery where(   Predicate... restrictions ) Modify the query to restrict the query result according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions
JPA Doc
65

where(restrictions)

Method javax.persistence.criteria.Subquery Subquery where(   Predicate... restrictions ) Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any
JPA Doc
62

and(restrictions)

Method javax.persistence.criteria.CriteriaBuilder Predicate and(   Predicate... restrictions ) 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
JPA Doc
62

having(restriction)

Method javax.persistence.criteria.AbstractQuery AbstractQuery having(   Expression restriction ) Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified query Since: JPA 2.0
JPA Doc
62

having(restriction)

restriction ) 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