ObjectDB ObjectDB

Internal Website Search

11-20 of 86 resultsRefresh
68

where(restriction)

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

where(restrictions)

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

distinct(distinct)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> distinct( boolean distinct ) Specify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified
68

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
68

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

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
68

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
66

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
66

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
55

JPA Queries

instance. Building a dynamic query using the criteria API is managed by the CriteriaQuery interface ... . The CriteriaQuery instance merely represents the query during its building, and is equivalent to a JPQL

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