Home » Search

About CriteriaQuery

11-20 of 85Refresh
JPA Doc
61

groupBy(grouping)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery groupBy(   Expression... grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously
JPA Doc
61

groupBy(grouping)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery groupBy(   List grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added
JPA Doc
61

having(restriction)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery having(   Expression 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
JPA Doc
61

having(restrictions)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery having(   Predicate... 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
JPA Doc
61

orderBy(o)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery orderBy(   List o ) Specify the ordering expressions that are used to order the query results. Replaces the previous ordering expressions, if any. If no ordering expressions are specified, the previous ordering, if any
JPA Doc
61

orderBy(o)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery orderBy(   Order... o ) Specify the ordering expressions that are used to order the query results. Replaces the previous ordering expressions, if any. If no ordering expressions are specified, the previous ordering, if any, is simply
JPA Doc
61

where(restriction)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery where(   Expression restriction ) Modify the query to restrict the query result according to the specified boolean expression. Replaces the previously added restriction(s), if any. This method only overrides the return type
JPA Doc
61

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
59

getOrderList()

Method javax.persistence.criteria.CriteriaQuery List getOrderList() Return the ordering expressions in order of precedence. Returns empty list if no ordering expressions have been specified. Modifications to the list do not affect the query. Returns: the list of ordering expressions Since: JPA 2.0
JPA Doc
59

getParameters()

Method javax.persistence.criteria.CriteriaQuery Set> getParameters() Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Returns: the query parameters Since: JPA 2.0