Internal Website Search
1-10 of 200 resultsRefreshRetrieving 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 ... _context">persistence context serves as a cache of retrieved entity objects. If a requested entity | |
Left join fetch behaviour doesn't retrieve children? to retrieve parent and children using left join fetch em = emf ... ; // Ok my em is now closed, let's check if children are retrieved   ... .getTransaction().commit(); em.clear(); em.close(); // Try to retrieve parent | |
Bug: ClassCastException by retrieval; tNode tn3 = em.find(tNode.class, 1); System.out.printf("find by retrieval : %s %n",tn3.getTa ... , l, d, 2] [H, e, l, l, o, W, o, r, l, d, 2] find by retrieval : H Arrays : [H, e, l, l, o, W, o ... and retrieve generic arrays ok, but fail when I use Enhancer. | |
CRUD Database Operations with JPA it to store, retrieve, update and delete database objects. Storing New Entity Objects Retrieving Existing Entities The retrieve">Retrieving Entities section in chapter 3 describes several methods for retrieving entity | |
Shared (L2) Entity Cache cache. An attempt to retrieve an entity object that is already managed by the EntityManager ... the following functionality automatically: On retrieval - shared ... available also in the shared cache - it is retrieved from the database and added to the shared cache | |
Working with JPA Entity Objects for many operations, including storing, retrieving, updating and deleting database objects. Entity objects retrieved from the database by an EntityManager are also in the Managed state. Object retrieval is discussed in more detail in the | |
retrieve(pc)">javax.jdo.PersistenceManagervoid retrieve( Object pc) Retrieve field values of an instance from the store ... the instance, and its field values must be retrieved. The PersistenceManager might use | |
retrieve(pc, useFetchPlan)">javax.jdo.PersistenceManagervoid retrieve( Object pc, boolean useFetchPlan) Retrieve field ... > that the application intends to use the instance, and its field values must be retrieved. | |
[ODB1] Chapter 6 - Persistent Objects directly (an embedded object can only be retrieved using a reference from its containing object). retrieval, as shown in the next section (retrieving_persistent ... start from them, as explained in the next section. 6.3 Retrieving Persistent | |
[ODB1] Chapter 7 - JDOQL Queries There are various ways to retrieve objects from an ObjectDB database, as shown in retrieving_persistent_objects">section 6.3. An Extent, for instance, can be used to retrieve all the instances of a specified persistent class |