Home » Search

About commit

101-110 of 200Refresh
JDO Doc
2

getRetainValues()

Method javax.jdo.Transaction boolean getRetainValues() If true, at commit time instances retain their field values. Returns: the value of the retainValues property Since: JDO 1.0
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.listener.ClearLifecycleListener

. This happens during an application call to evict, and in afterCompletion for commit with RetainValues false
JPA Doc
2

javax.persistence.EntityExistsException

is invoked, or the EntityExistsException or another PersistenceException may be thrown at flush or commit
JPA Doc
2

javax.persistence.LockTimeoutException

or at commit time. The current transaction, if one is active, will be not be marked for rollback
JPA Doc
2

javax.persistence.OptimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current transaction
JPA Doc
2

javax.persistence.PessimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current
JDO Doc
2

makeNontransactional(pc)

Method javax.jdo.PersistenceManager void makeNontransactional(   Object pc ) Make an instance non-transactional after commit. Normally, at transaction completion, instances are evicted from the cache. This method allows an application to identify an instance as not being evicted from the cache
JDO Doc
2

makeNontransactionalAll(pcs)

Method javax.jdo.PersistenceManager void makeNontransactionalAll(   Collection pcs ) Make a Collection of instances non-transactional after commit. Parameters: pcs - the Collection of instances to make nontransactional. Since: JDO 1.0 See Also: makeNontransactional(Object pc)
JDO Doc
2

makeNontransactionalAll(pcs)

Method javax.jdo.PersistenceManager void makeNontransactionalAll(   Object... pcs ) Make an array of instances non-transactional after commit. Parameters: pcs - the array of instances to make nontransactional. Since: JDO 1.0 See Also: makeNontransactional(Object pc)