About retrieve

1-10 of 200Refresh
Manual
411

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
91

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
91

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
58

Chapter 3 - Using JPA

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

CRUD Operations with JPA

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

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
32

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... a Double 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
Forum
32

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

Bug: ClassCastException by retrieval

("find by retrieval : %s %n",tn3.getTa()); System.out.printf("Arrays : %s %n",Arrays.toString(tn3 ... , l, l, o, W, o, r, l, d, 2] find by retrieval : H Arrays : [H, e, l, l, o, W, o, r, l, d, 2 ... temporary setting for each class. Sometimes I create and retrieve generic arrays ok, but fail when I use
Forum
30

Retrieve data of all entity classes in a single query

etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel ... to use TypedQuery instead of TypedQuery but had casting issues   You can retrieve ... types using instanceof. Alternatively, you may avoid casting and retrieve fields in a generic way