Home » Search

About retrieve

1-10 of 200Refresh
Manual
297

Retrieving JPA Entity Objects

The Java Persistence API (JPA) provides various ways to retrieve objects from the database. The retrieval of objects does not require an active transaction because it does not change the content of the database. The persistence context serves as a cache of retrieved entity objects. If a requested
JDO Doc
63

retrieve(pc)

Method javax.jdo.PersistenceManager void retrieve(   Object pc ) Retrieve field values ... the instance, and its field values must be retrieved. The PersistenceManager might use policy information about the class to retrieve associated instances. Parameters: pc - the instance Since: JDO 1.0
JDO Doc
63

retrieve(pc, useFetchPlan)

Method javax.jdo.PersistenceManager void retrieve(   Object pc,   boolean useFetchPlan ) Retrieve ... intends to use the instance, and its field values must be retrieved. If the useFetchPlan parameter ... the current fetch plan to determine which fields to load and which instances to retrieve. Since: JDO 2.0
Manual
44

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
Manual
44

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).
Manual
27

Shared (L2) Entity Cache

that it manages. The persistence context serves as a first level cache. An attempt to retrieve ... automatically: On retrieval - shared cache is used for entity objects that are not in the persistence context. If an entity object is not available also in the shared cache - it is retrieved from
Manual
27

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... object reflecting the average x value of all the Point objects in the database. Retrieving Existing Entities The Retrieving Entities section in chapter 3 describes several methods for retrieving entity
Manual
25

Working with JPA Entity Objects

requires using entity objects for many operations, including storing, retrieving, updating and deleting ... are provided in the Storing Entities section. Entity objects retrieved from the database by an EntityManager are also in the Managed state. Object retrieval is discussed in more detail in the Retrieving
Manual
23

JPA Persistable Types

and do not require separate space allocation and separate store and retrieval operations ... and retrieval is faster). It simplifies queries on dates and ranges of dates. When an entity is stored ... is retrieved from the database. For example, the Arrays.asList method returns an instance of an internal
Manual
23

Locking in JPA

another EntityManager) since it was retrieved by the current updater. Optimistic locking ... ); In addition, the hint can be set for a specific retrieval operation or query. Releasing ... with OPTIMISTIC_FORCE_INCREMENT). Locking during Retrieval JPA 2 provides various methods for locking