Home » Search

About rollback

31-40 of 85Refresh
JDO Doc
6

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 the transaction. If false, at rollback, the values of fields of newly persistent instances are unchanged
Forum
5

"Attempt to lock a non entity object" error

object" session.rollback() is somehow causing the problem (found through debugging ... //----------------------------------------------------------- public void doCancelEdit() { try {     session.rollback(); . . . } //doCancelEdit ... invocation of rollback or by a commit failure." Quite different behavior from what I expected
JDO Doc
4

javax.jdo.listener.ClearLifecycleListener

and rollback with RestoreValues false. The method is called during any state transition to hollow. Non
JPA Doc
4

javax.persistence.EntityNotFoundException

, if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.getReference
JPA Doc
4

javax.persistence.NonUniqueResultException

. This exception will not cause the current transaction, if one is active, to be marked for rollback. Since: JPA 1
JPA Doc
4

javax.persistence.NoResultException

transaction, if one is active, to be marked for rollback. Since: JPA 1.0 See Also: Query
JPA Doc
4

javax.persistence.OptimisticLockException

, if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.find(Class
JPA Doc
4

javax.persistence.PersistenceException

, and QueryTimeoutException will cause the current transaction, if one is active, to be marked for rollback
JPA Doc
4

javax.persistence.PessimisticLockException

transaction, if one is active, will be marked for rollback. Since: JPA 2.0 PessimisticLockException
JPA Doc
4

javax.persistence.QueryTimeoutException

is rolled back. The current transaction, if one is active, will be not be marked for rollback. Since: JPA