About retrieve

61-70 of 200Refresh
Manual
8

JPA Lifecycle Events

flush). @PostLoad - after an entity has been retrieved from the database. @PreUpdate
Manual
8

JPA Named Queries

" that retrieves all the Country objects in the database: @NamedQuery(name="Country.findAll", query
Manual
8

JPA Query API

, the same JPQL query which retrieves all the Country objects in the database is represented by both q1
Manual
8

Literals in JPQL and Criteria Queries

retrieval by type. In JPQL an entity type literal is written simply as the name of the entity class (e.g
Manual
8

Paths and Types in JPQL and Criteria API

through a NULL value The following query retrieves country names with their capital city names: SELECT
Tutorial
8

Step 2: Define a JPA Entity Class

that stores and retrieves instances of the Point entity class.
Tutorial
8

Step 2: Define a JPA Entity Class

class that stores and retrieves instances of the Point entity class.
Tutorial
8

Step 3: Add a Context Listener Class

(contextInitialized). Retrieves the EntityManagerFactory from the application scope attribute and closes
Tutorial
8

Step 3: Add a Context Listener Class

context - when the web application starts (contextInitialized). Retrieves the EntityManagerFactory
Tutorial
8

Step 4: Add a Servlet Class

are retrieved from the database and stored in the request's "guest" attribute. Then the processing