ObjectDB ObjectDB

Internal Website Search

11-20 of 88 resultsRefresh
70

groupBy(grouping)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> groupBy( List<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
70

having(restriction)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> having( Expression<Boolean> 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
70

having(restrictions)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> 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
70

groupBy(grouping)

Method javax.persistence.criteria.CriteriaQuery<T> CriteriaQuery<T> groupBy( List<E> 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
70

orderBy(o)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> 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
70

orderBy(o)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> orderBy( List<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
68

getParameters()

Method javax.persistence.criteria.CriteriaQuery Set<ParameterExpression<?>> 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
68

getOrderList()

Method javax.persistence.criteria.CriteriaQuery List<Order> 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
46

SELECT clause (JPQL / Criteria API)

DISTINCT c.currency FROM Country c can be built as a criteria query as follows: CriteriaQuery ... : CriteriaQuery<Object[]> q = cb.createQuery(Object[].class); Root<Country> c = q.from(Country.class); q ... as a clean alternative to Object[]: CriteriaQuery<Tuple> q = cb.createTupleQuery(); Root
36

FROM clause (JPQL / Criteria API)

interfaces). Criteria Query Roots The CriteriaQuery's from method serves as a factory of Root instances ... : CriteriaQuery<Country> q = cb.createQuery(Country.class); Root<Country> c1 = q.from(Country ... other CriteriaQuery methods - invocation of the from method does not override a previous invocation of that method

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support