Home » Search

About begin

31-40 of 200Refresh
Forum
3

Unexpected NoSuchFieldError exception

.persistence.PersistenceException Attempt to begin a new transaction when a transaction is active (error 612) at com.objectdb.jpa.EMImpl.begin(EMImpl.java:275) at javax.persistence.EntityTransaction$begin.call(Unknown Source) at app.database.ObjectDbDatabase.transact(ObjectDbDatabase.groovy:81) at app
Forum
2

evictAll() behavior

().commit(); pm.currentTransaction().begin(); System.out.println("Cache size after commit= " + pm ... ) and there is a result OBJECTDB OUTPUT: main--testDbProvisioning Cache size before COMMIT/BEGIN= 1 transient transient Cache size after COMMIT/BEGIN= 2630 transient transient Cache size after pm.evict = 2630
JDO Doc
2

getObjectId(pc)

: a copy of the ObjectId of the parameter instance as of the beginning of the transaction. Since: JDO 1.0
JDO Doc
2

getObjectId(pc)

, then this method returns the identity as of the beginning of the transaction. The value returned by getObjectId
JDO Doc
2

getObjectId(pc)

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

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
JPA Doc
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
JDO Doc
2

javax.jdo.JDOHelper

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

javax.jdo.PersistenceManager

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

javax.jdo.spi.StateInterrogation

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