About rollback

31-40 of 93Refresh
JDO Doc
7

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

find(entityClass, primaryKey, lockMode, properties)

rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently ignored
JPA Doc
7

javax.persistence.EntityExistsException

and the entity already exists. The current transaction, if one is active, will be marked for rollback ... time. The current transaction, if one is active, will be marked for rollback. Since: JPA 1.0
JDO Doc
7

javax.jdo.PersistenceManagerFactory

for the RestoreValues property. Set the default value for the RestoreValues property. If true, at rollback ... of the transaction. If false, at rollback, the values of fields of newly persistent instances are unchanged
Forum
6

"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
JPA Doc
5

javax.persistence.QueryTimeoutException

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

preClear(event)

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

setRollbackOnly()

Method javax.jdo.Transaction void setRollbackOnly() Sets the rollback-only status of the transaction to true. After this flag is set to true, the transaction can no longer be committed, and any attempt to commit the transaction will throw JDOFatalDataStoreException. Since: JDO 2.0
JDO Doc
5

setSynchronization(sync)

commit or rollback operation. Only one Synchronization instance can be registered with the Transaction
JPA Doc
5

javax.persistence.NonUniqueResultException

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