Fast Object Database for Java - with JPA/JDO support

Internal Website Search

101-110 of 200 resultsRefresh

JDO Reference (JavaDoc)

Java/JDO API Reference (based on the JDO 2.2 JavaDoc)

[ODB1] Chapter 6 - Persistent Objects

of PersistenceManager. The makePersistentAll(...) method stores all the elements in the specified ... (useful when a PersistenceManager is unavailable): Object oid = JDOHelper.getObjectId(obj); JDO does ... has to return a persistent object representing that database object. Every PersistenceManager instance manages


javax.jdo Interface JDOEntityManager Superinterfaces: EntityManager, PersistenceManager Since: JDO ... the PersistenceManager cache with the datastore. Validates the PersistenceManager cache with the datastore ... instance associated with a PersistenceManager. Return the Transaction instance associated

[ODB1] Chapter 2 - A Quick Tour

PersistenceManager pm = 13 Utilities.getPersistenceManager("hello.odb"); 14 ... ) and for ObjectDB extensions (line 5). Lines 11-14 A PersistenceManager instance representing ... are stored without names in JDO. Another extension is used to obtain a PersistenceManager instance


The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances. All PersistenceManager ... . Once the first PersistenceManager is obtained from the PersistenceManagerFactory, the factory can no longer ... is set (non-null) then ConnectionFactory2Name is ignored. Operational state (PersistenceManager pooling

ClassCastException on closing PersistenceManager

the PersistenceManager after reading the DB: java.lang.ClassCastException: com.objectdb.o.ENT ... ) the method on the bottom of the stack trace looks like this: private PersistenceManager persistenceManager; public void close() {   if( ! this.persistenceManager.isClosed

Lock prevents PersistenceManager.close when retainValues = false

I have code in which a PersistenceManager is obtained, used in several transactions, and then closed. If those transactions involves writes, then the code jams (use of VisualVM shows ... for detachment during a PersistenceManager close operation. The retainValues == false mode affects commit

JDO PersistenceManager.getSequence() returns null sometimes

to reproduce: import javax.jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory; import ... (); factory.setConnectionURL("build/testcase.odb"); PersistenceManager pm = factory

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

to give 256KB disk accesses and use PersistenceManager L1 ref=soft caching and datastore pagefile caching 1 MB (4 256KB sized pages). The goal is to have frequent PersistenceManager L1 cache hit

[ODB1] Chapter 7 - JDOQL Queries

instance is constructed by one of the PersistenceManager's newQuery(...) methods. For example, in ... when invoking one of the PersistenceManager interface newQuery methods can be assigned later using

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