Home » Search

About retrieve

1-10 of 200Refresh
Manual
333

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
72

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
72

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
50

Chapter 3 - Using JPA

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

CRUD Operations with JPA

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

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
29

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
26

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
25

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
25

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