ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
299

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
69

retrieve(pc, useFetchPlan)

Method javax.jdo.PersistenceManager void retrieve( Object pc, boolean useFetchPlan ) Retrieve field ... 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
69

retrieve(pc)

Method javax.jdo.PersistenceManager void retrieve( Object pc ) Retrieve field values of an 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
53

[ODB1] Chapter 6 - Persistent Objects

or queried directly (an embedded object can only be retrieved using a reference from its containing ... in object retrieval, as shown in the next section (section 6.3). ObjectDB supports two identifying ... can easily start from them, as explained in the next section. 6.3 Retrieving Persistent Objects
32

[ODB1] Chapter 7 - JDOQL Queries

There are various ways to retrieve objects from an ObjectDB database, as shown in section 6.3. An Extent, for instance, can be used to retrieve all the instances of a specified persistent class. When a more selective retrieval is needed, JDOQL (JDO Query Language) is used. JDOQL for JDO is like SQL
30

CRUD Operations with JPA

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

Chapter 3 - Using JPA

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

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
25

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
24

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 ... ();   em.close();   // Try to retrieve parent and children using left join fetch   em = emf

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support