About commit

131-140 of 200Refresh
JDO Doc
2

postStore(event)

Method javax.jdo.listener.StoreLifecycleListener void postStore(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called after the field values have been stored. Parameters: event - the store event. Since: JDO 2.0
JDO Doc
2

preClear(event)

during an application call to evict, and in afterCompletion for commit with RetainValues false and rollback
JDO Doc
2

preStore(event)

Method javax.jdo.listener.StoreLifecycleListener void preStore(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called before the method StoreCallback.jdoPreStore
JDO Doc
2

refresh(pc)

store so that a subsequent commit is more likely to succeed. Outside a transaction, this method
JDO Doc
2

setOptimistic(optimistic)

Method javax.jdo.Transaction void setOptimistic(   boolean optimistic ) Optimistic transactions do not hold data store locks until commit time. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: optimistic - the value of the Optimistic flag. Since: JDO 1.0
JDO Doc
2

setRetainValues(retainValues)

Method javax.jdo.Transaction void setRetainValues(   boolean retainValues ) If true, at commit instances retain their values and the instances transition to persistent-nontransactional. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters
JDO Doc
2

setSynchronization(sync)

commit or rollback operation. Only one Synchronization instance can be registered with the Transaction
Forum
2

Soft Reference Object Cache Recommendation

(until commit). Your test (at #9 above) does not show strong references from ObjectDB to your Data instances after committing a transaction. Note that we got much smaller heap size (4MB) than reported by ... heap dump after commit, clicking right and selecting "Show nearest GC root" results with a VisualVM
JDO Doc
2

supportedOptions()

-uncommitted javax.jdo.option.TransactionIsolationLevel.read-committed javax.jdo.option
Forum
2

calling persist on an object more than once

results in an error (613) when the transaction is commited: [ObjectDB 2.2.4] javax.persistence.RollbackException Failed to commit transaction: Attempt to reuse an existing primary key value (common.model.UserSession:13) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo