Home » Search

About DISABLE_SELECTIVE

11-20 of 200Refresh
JPA Doc
21

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
21

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
21

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
21

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
21

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
JPA Doc
20

select(expression)

Method javax.persistence.criteria.Subquery Subquery select(   Expression expression ) Specify the item that is to be returned as the subquery result. Replaces the previously specified selection, if any. Parameters: expression - expression specifying the item that is to be returned as
Manual
17

Chapter 4 - JPA Queries (JPQL / Criteria)

(and a criteria query) is explained by describing the main clauses of JPQL queries (SELECT, FROM, WHERE, GROUP
Tutorial
17

Step 1: Create a Maven Web Project

box, e.g. by using File > New > Project... Select Maven > Maven Project and click Next. Verify that the Create a simple project checkbox is disabled and click Next. Enter maven-archetype-webapp as a filter, select maven-archetype-webapp in the artifact list and click Next. Enter Group Id (e.g
Tutorial
17

Step 2: Entity Class and Persistence Unit

) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking ... with a default persistence unit (that will be configured later). If the Finish button is disabled ... a text editor (by right clicking and selecting Edit or by double click and then moving to the Source
Tutorial
17

Step 2: Entity Class and Persistence Unit

) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking ... with a default persistence unit (that will be configured later). If the Finish button is disabled ... the persistence.xml file in a text editor (by right clicking and selecting Edit or by double click