ObjectDB ObjectDB

Internal Website Search

1-10 of 10 resultsRefresh
116

javax.persistence.criteria.CompoundSelection

javax.persistence.criteria Interface CompoundSelection<X> Superinterfaces: Selection<X>, TupleElement<X> The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor). Since: JPA 2.0 Selection<X> alias(String name) Assigns an alias to the selection item
75

SELECT clause (JPQL / Criteria API)

). Multi Selection The Selection interface is also a super interface of CompoundSelection ... clause). The CriteriaBuilder interface provides three factory methods for building CompoundSelection ... a CompoundSelection instance, which represents results as arrays. The following code demonstrates the execution
62

Criteria Query Selection and Results

expressions can be represented by CompoundSelection, which is itself a subinterface of Selection
14

javax.persistence.criteria.CriteriaBuilder

CompoundSelection<Object[]> array( Selection... selections) Create an array-valued selection item. Create ... conjuncts is true. Returns: and predicate Since: JPA 2.0 CompoundSelection<Y> construct(Class<Y ... for string to trim Returns: trim expression Since: JPA 2.0 CompoundSelection< Tuple> tuple( Selection
8

javax.persistence.TupleElement

javax.persistence Interface TupleElement<X> Subinterfaces: CollectionJoin, CompoundSelection, Case, Coalesce, In, SimpleCase, Expression, From, Join, ListJoin, MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, Selection, SetJoin, Subquery The TupleElement interface defines an element
8

array(selections)

Method javax.persistence.criteria.CriteriaBuilder CompoundSelection<Object[]> array( Selection... selections ) Create an array-valued selection item. Parameters: selections - selection items Returns: array-valued compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection item Since: JPA 2.0
8

javax.persistence.criteria.Selection

javax.persistence.criteria Interface Selection<X> Superinterfaces: TupleElement<X> Subinterfaces: CollectionJoin, CompoundSelection, Case, Coalesce, In, SimpleCase, Expression, From, Join, ListJoin, MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, SetJoin, Subquery The Selection
8

construct(resultClass, selections)

Method javax.persistence.criteria.CriteriaBuilder CompoundSelection<Y> construct( Class<Y> resultClass, Selection... selections ) Create a selection item corresponding to a constructor. This method is used to specify a constructor that will be applied to the results of the query execution
8

construct(resultClass, selections)

Method javax.persistence.criteria.CriteriaBuilder CompoundSelection<X> construct( Class<T> resultClass, Selection[]<X> selections ) Create a selection item corresponding to a constructor. This method is used to specify a constructor that will be applied to the results of the query execution
8

tuple(selections)

Method javax.persistence.criteria.CriteriaBuilder CompoundSelection<Tuple> tuple( Selection... selections ) Create a tuple-valued selection item. Parameters: selections - selection items Returns: tuple-valued compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection item 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