ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
12

evictAll() behavior

.currentTransaction().begin(); System.out.println("Cache size after commit= " + pm.getManagedObjects().size ... --testDbProvisioning Cache size before COMMIT/BEGIN= 1 transient transient Cache size after COMMIT/BEGIN= 2630 ... before COMMIT/BEGIN = 280 persistent-new hollow/persistent-nontransactional Cache size after COMMIT
2

getTransaction()

Method javax.persistence.EntityManager EntityTransaction getTransaction() Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns: EntityTransaction instance Throws: IllegalStateException - if invoked on a JTA entity manager Since: JPA 1.0
2

javax.persistence.EntityTransaction

begin() Start a resource transaction. Start a resource transaction. Throws: IllegalStateException
0

javax.jdo.spi.StateInterrogation

of the beginning of the transaction. Since: JDO 2.0 See Also: PersistenceManager.getObjectId(Object pc
0

javax.jdo.JDOHelper

of the ObjectId of the parameter instance as of the beginning of the transaction. Since: JDO 1.0
0

getObjectId(pc)

Method javax.jdo.spi.StateManager Object getObjectId( PersistenceCapable pc ) Return the object representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the identity as of the beginning of the transaction. Parameters
0

getObjectId(pc)

of the ObjectId of the parameter instance as of the beginning of the transaction. Since: JDO 1.0
0

javax.jdo.PersistenceManager

, then this method returns the identity as of the beginning of the transaction. The value returned by
0

getObjectId(pc)

returns the identity as of the beginning of the transaction. The value returned by getObjectId
0

javax.jdo.spi.StateManager

, this method returns the identity as of the beginning of the transaction. Parameters: pc - the calling

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