Home » Search

About ENABLE_SELECTIVE

21-30 of 200Refresh
Tutorial
19

Step 7: Run the Spring Web App

the [Project Explorer] window), selecting Run As > Run on Server, selecting the Tomcat 6.0 server ... the embedded Maven Jetty plugin: Right click the project node and select Run As > Maven Build... Enter ... the persistence.xml file - instead of RESOURCE_LOCAL you will have to specify JTA. To enable on the fly automatic
JPA Doc
19

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

Query Parameters in JPA

Query parameters enable the definition of reusable queries. Such queries can be executed ... ( "SELECT c FROM Country c WHERE c.name = :name", Country.class); return query.setParameter ... .createQuery( "SELECT c FROM Country c WHERE c.name = ?1", Country.class); return query
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
Manual
16

JPA Entity Fields

the Department entity): SELECT e FROM Employee e WHERE e.department = :d The mappedBy element defines ... ; } In that case the employees field is filled with the results of the following query: SELECT e FROM ... results by specifying a selected key field using the MapKey annotation: @Entity public class
Manual
16

Logical Operators in JPQL and Criteria API

Logical operators in JPQL and in JPA criteria queries enable composition of complex JPQL boolean ... retrieves countries whose population and area (both) exceed specified limits: SELECT c FROM ... The following query retrieves countries whose population or area exceeds a specified limit: SELECT c FROM
Tutorial
14

Step 2: Entity Class and Persistence Unit

) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking ... fill the fields with arbitrary values to enable it. A new entity class that should represent Guest objects ... a text editor (by right clicking and selecting Edit or by double click and then moving to the Source
Tutorial
14

Step 2: Entity Class and Persistence Unit

) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking ... fill the fields with arbitrary values to enable it. A new entity class that should represent Guest objects in ... the persistence.xml file in a text editor (by right clicking and selecting Edit or by double click
Tutorial
14

Step 3: Add a Context Listener Class

box by right clicking the guest package node (in the [Package Explorer] window), selecting New ... as the class name - use exactly that case sensitive class name. Click Next and then Select All to enable the Finish button. Click Finish to create the new listener class. Now replace the content
JPA Doc
14

JPA Queries

. "SELECT c FROM Country"). Criteria Query API Building dynamic queries with structure that is known ... a cleaner alternative that enables building a dynamic query by using instances of special types ... three groups. SELECT and ORDER BY elements (including tuples): FROM clause elements (representing range