ObjectDB ObjectDB

Internal Website Search

1-10 of 88 resultsRefresh
89

javax.persistence.criteria.CriteriaQuery

javax.persistence.criteria Interface CriteriaQuery<T> Superinterfaces: AbstractQuery<T> The CriteriaQuery interface defines functionality that is specific to top-level queries. Since: JPA 2.0 Learn ... query Since: JPA 2.0 CriteriaQuery<T> distinct(boolean distinct) Specify whether duplicate query results
76

multiselect(selections)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> multiselect( Selection ... is CriteriaQuery (i.e., a criteria query object created by either the createTupleQuery method or by passing ... that results from the query execution. If the type of the criteria query is CriteriaQuery for some user
76

multiselect(selectionList)

Method javax.persistence.criteria.CriteriaQuery<T> CriteriaQuery<T> multiselect( List<E ... query is CriteriaQuery (i.e., a criteria query object created by either the createTupleQuery method ... is CriteriaQuery for some user-defined class X (i.e., a criteria query object created by passing
76

multiselect(selectionList)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> multiselect( List<Selection ... of the criteria query is CriteriaQuery (i.e., a criteria query object created by ... of the criteria query is CriteriaQuery for some user-defined class X (i.e., a criteria query object created by
73

select(selection)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> select( Selection<?> selection ... . For example: CriteriaQuery q = cb.createQuery(String.class); Root ... ")); CriteriaQuery q2 = cb.createQuery(Product.class); q2.select(q2.from(Order.class
72

createQuery(criteriaQuery)

Method javax.persistence.EntityManager TypedQuery<T> createQuery( CriteriaQuery<T> criteriaQuery ) Create an instance of TypedQuery for executing a criteria query. Parameters: criteriaQuery - a criteria query object Returns: the new query instance Throws: IllegalArgumentException - if the criteria query is found to be invalid Since: JPA 2.0
70

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
70

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
70

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
70

groupBy(grouping)

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

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