Home » Search

About ENABLE_SELECTIVE

11-20 of 200Refresh
JPA Doc
21

javax.persistence.criteria.Selection

javax.persistence.criteria Interface Selection Superinterfaces: TupleElement Subinterfaces ... , MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, SetJoin, Subquery The Selection ... Criteria API's Selection in Chapter 4 of the ObjectDB/JPA manual. Selection alias(String name
Manual
21

Setting and Tuning of JPA Queries

(setFirstResult, setMaxResults) The setFirstResult and setMaxResults methods enable defining a result ... or at the level of a specific query, by overriding the default EntityManager setting: // Enable query time flush at the EntityManager level: em.setFlushMode(FlushModeType.AUTO); // Enable
JPA Doc
20

multiselect(selections)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery multiselect(   Selection... selections ) Specify the selection items that are to be returned in the query result. Replaces the previously specified selection(s), if any. The type of the result of the query execution depends
JPA Doc
20

array(selections)

Method javax.persistence.criteria.CriteriaBuilder CompoundSelection 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
JPA Doc
20

getCompoundSelectionItems()

Method javax.persistence.criteria.Selection List<Selection> getCompoundSelectionItems() Return the selection items composing a compound selection. Modifications to the list do not affect the query. Returns: list of selection items Throws: IllegalStateException - if selection is not a compound selection Since: JPA 2.0
JPA Doc
20

tuple(selections)

Method javax.persistence.criteria.CriteriaBuilder CompoundSelection 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
JPA Doc
19

construct(resultClass, selections)

> resultClass,   Selection[] selections ) Create a selection item corresponding to a constructor ... after the query is executed. Parameters: resultClass - class whose instance is to be constructed selections - arguments to the constructor Returns: compound selection item Throws: IllegalArgumentException
JPA Doc
19

construct(resultClass, selections)

> resultClass,   Selection... selections ) Create a selection item corresponding to a constructor ... after the query is executed. Parameters: resultClass - class whose instance is to be constructed selections - arguments to the constructor Returns: compound selection item Throws: IllegalArgumentException
JPA Doc
19

alias(name)

Method javax.persistence.criteria.Selection Selection alias(   String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Parameters: name - alias Returns: selection item Since: JPA 2.0
JPA Doc
19

isCompoundSelection()

Method javax.persistence.criteria.Selection boolean isCompoundSelection() Whether the selection item is a compound selection. Returns: boolean indicating whether the selection is a compound selection Since: JPA 2.0