ObjectDB ObjectDB

Internal Website Search

1-10 of 60 resultsRefresh
102

javax.persistence.criteria.Subquery

javax.persistence.criteria Interface Subquery<T> Superinterfaces: AbstractQuery<T>, Expression<T>, Selection<T>, TupleElement<T> The Subquery interface defines functionality that is specific to subqueries. A subquery has an expression as its selection item. Since: JPA 2.0 Selection<X> alias(String
68

subquery(type)

Method javax.persistence.criteria.AbstractQuery Subquery<U> subquery( Class<U> type ) Create a subquery of the query. Parameters: type - the subquery result type Returns: subquery Since: JPA 2.0
68

exists(subquery)

Method javax.persistence.criteria.CriteriaBuilder Predicate exists( Subquery<?> subquery ) Create a predicate testing the existence of a subquery result. Parameters: subquery - subquery whose result is to be tested Returns: exists predicate Since: JPA 2.0
68

select(expression)

Method javax.persistence.criteria.Subquery Subquery<T> select( Expression<T> expression ) Specify the item that is to be returned as the subquery result. Replaces the previously specified selection ... the subquery result Returns: the modified subquery Since: JPA 2.0
68

any(subquery)

Method javax.persistence.criteria.CriteriaBuilder Expression<Y> any( Subquery<Y> subquery ) Create an any expression over the subquery results. This expression is equivalent to a some expression. Parameters: subquery - subquery Returns: any expression Since: JPA 2.0
68

all(subquery)

Method javax.persistence.criteria.CriteriaBuilder Expression<Y> all( Subquery<Y> subquery ) Create an all expression over the subquery results. Parameters: subquery - subquery Returns: all expression Since: JPA 2.0
68

some(subquery)

Method javax.persistence.criteria.CriteriaBuilder Expression<Y> some( Subquery<Y> subquery ) Create a some expression over the subquery results. This expression is equivalent to an any expression. Parameters: subquery - subquery Returns: some expression Since: JPA 2.0
67

distinct(distinct)

Method javax.persistence.criteria.Subquery Subquery<T> distinct( boolean distinct ) Specify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated ... from the subquery result or whether they must be retained Returns: the modified subquery. Since: JPA 2.0
67

where(restriction)

Method javax.persistence.criteria.Subquery Subquery<T> where( Expression<Boolean> restriction ) Modify the subquery to restrict the result according to the specified boolean expression. Replaces ... of the corresponding AbstractQuery method. Parameters: restriction - a simple or compound boolean expression Returns: the modified subquery Since: JPA 2.0
67

where(restrictions)

Method javax.persistence.criteria.Subquery Subquery<T> where( Predicate... restrictions ) Modify the subquery to restrict the result according to the conjunction of the specified restriction ... of the corresponding AbstractQuery method. Parameters: restrictions - zero or more restriction predicates Returns: the modified subquery Since: JPA 2.0

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