Internal Website Search

11-20 of 100 resultsRefresh

Locking in JPA

/EntityTransaction/commit">commit or rollback">rollback). ObjectDB supports also releasing a lock explicitly

javax.persistence.EntityManager

transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback rollback the LockTimeoutException

JPA Lifecycle Events

, the transaction is marked for rollback and no more callback methods are invoked for that operation.

ObjectDB Object Database Features

> Operations: begin, commit, rollback

Step 4: Add a Servlet Class

: if (em.getTransaction().isActive()) em.getTransaction().rollback

Step 4: Add a Servlet Class

: if (em.getTransaction().isActive()) em.getTransaction().rollback

javax.jdo.JDOEntityManager

-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback

javax.jdo.Transaction

"> Returns the rollback-only status of the transaction. Returns the rollback-only status of the transaction. When begun, the rollback-only status is false. Either the application or the JDO implementation may set

[ODB1] Chapter 6 - Persistent Objects

. Of course, if the transaction is ended with rollback() and not with commit

[ODB1] Chapter 3 - Persistent Classes

when the persistent fields are going to be cleared at transaction end (for example on rollback). This event