About rollback

11-20 of 90Refresh
Tutorial
14

Step 4: Add a Servlet Class

connection: if (em.getTransaction().isActive()) em.getTransaction().rollback
Manual
14

Detached Entity Objects

invocation of rollback or by a commit failure. Explicit Merge Detached objects can be attached
Manual
14

JPA Lifecycle Events

throws an exception within an active transaction, the transaction is marked for rollback
Tutorial
14

Step 4: Add a Servlet Class

()) em.getTransaction().rollback(); em.close
Result
14

ObjectDB Object Database Features [2018-01-27]

. Operations: begin, commit, rollback. Processes and Threads All API classes and interfaces are thread safe
Result
14

ObjectDB Object Database Features [2018-10-27]

. Operations: begin, commit, rollback. Processes and Threads All API classes and interfaces are thread safe
Result
14

ObjectDB Object Database Features

, rollback. Processes and Threads All API classes and interfaces are thread safe. Support of efficient
JDO Doc
14

javax.jdo.Transaction

of the retainValues property Since: JDO 1.0 boolean getRollbackOnly() Returns the rollback-only status of the transaction. Returns the rollback-only status of the transaction. When begun, the rollback ... setRollbackOnly. Returns: true if the transaction has been marked for rollback. Since: JDO 2.0
JPA Doc
8

javax.persistence.EntityTransaction

resource transaction has been marked for rollback. Determine whether the current resource transaction has been marked for rollback. Returns: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if isActive() is false Since: JPA 1.0 boolean isActive
JPA Doc
8

javax.persistence.LockModeType

cannot be obtained, and the database locking failure results in transaction-level rollback, the provider must throw ... has been marked for rollback. When the lock cannot be obtained, and the database locking failure results in only statement-level rollback, the provider must throw the LockTimeoutException (and must not mark