About begin

31-40 of 200Refresh
Forum
4

EntityManager.refresh takes a long time

(Level.INFO, "begin select for person " + new Date().toString());                TypedQuerybegin refresh for person = " +             person + "  "+ new Date().toString());         em ... + "  "+ new Date().toString());     }   INFO: begin select for person Thu Aug 08 19:39:45 GMT+04
JDO Doc
3

javax.jdo.PersistenceManagerFactory

, fields of newly persistent instances are restored to their values as of the beginning ... of primitive types and immutable reference types are restored to their values as of the beginning
JDO Doc
3

javax.jdo.spi.PersistenceCapable

, this method returns the object id as of the beginning of the current transaction. Returns: a copy of the ObjectId of this instance as of the beginning of the transaction. Since: JDO 1.0
JDO Doc
3

jdoGetObjectId()

the transaction, this method returns the object id as of the beginning of the current transaction. Returns: a copy of the ObjectId of this instance as of the beginning of the transaction. Since: JDO 1.0
JDO Doc
3

setRestoreValues(restoreValues)

instances are restored to their values as of the beginning of the transaction, and the instances revert ... types are restored to their values as of the beginning of the transaction. If false, at rollback
JDO Doc
3

setRestoreValues(restoreValues)

Method javax.jdo.Transaction void setRestoreValues(   boolean restoreValues ) If true, at rollback, fields of newly persistent instances are restored to their values as of the beginning ... of primitive types and immutable reference types are restored to their values as of the beginning
Forum
2

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