About retrieve

1-10 of 200Refresh
Manual
230

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
58

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
58

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
23

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
23

CRUD Database Operations with JPA [2011-02-11]

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
23

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
21

Working with JPA Entity Objects [2011-04-18]

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
21

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
Forum
21

Left join fetch behaviour doesn't retrieve children?

();         em.clear();         em.close();         // Try to retrieve parent and children using ... is now closed, let's check if children are retrieved         em.close();         emf.close ... .getTransaction().commit();   em.clear();   em.close();   // Try to retrieve parent and children
Manual
19

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