About retrieve

1-10 of 200Refresh
Manual
285

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
75

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
75

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
41

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
Forum
26

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
25

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
25

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

Missing Data on Retrieval (0, null values)

generate classes automatically when they are missing, so if you retrieve an object from a database ... ))     em.unwrap(PersistenceManager.class).retrieve(obj); Note that ObjectDB is not supported
Forum
24

Query vs Extent for retrieving data

I'm running into a problem where data that is retrieved via a Query comes out null, but when I retrieve it using an Extent everything is present. We have a very simple class: public class PositionReportManagerBean implements InstanceCallbacks { private int maxReports; private List
Forum
24

How to retrieve the ObjectDB version number?

Hi! We need  the ObjectDB version for debug purpose/logging. Our project supports also EclipseLink - http://stackoverflow.com/questions/3493495/getting-database-connection-in-pure-jpa-setup With the Connection object the Database name & version can be retrieved. For ObjectDB, which is the best (JPA