Internal Website Search

21-30 of 100 resultsRefresh

JPA Exceptions

that require transaction rollback are represented by:

javax.persistence.EntityTransaction

has been marked for rollback. Determine whether the current resource transaction has been marked for rollback. boolean indicating whether the transaction has been marked for rollback

javax.persistence.LockModeType

results in transaction-level rollback, the provider must throw the and ensure that the JTA transaction or EntityTransaction has been marked for rollback. rollback, the provider must throw the

getRollbackOnly()

for rollback. Returns: boolean indicating whether the transaction has been marked for rollback

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

find(entityClass, primaryKey, lockMode)

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

javax.persistence.EntityExistsException

. The current transaction, if one is active, will be marked for rollback. If the entity already exists ... for rollback. Since: JPA 1

[ODB1] Chapter 4 - JDO Metadata

because its value is never stored in the database. The main difference is that, on transaction rollback

getRollbackOnly()

"> Returns the rollback-only status of the transaction. When begun, the rollback-only status ... > if the transaction has been marked for rollback.

javax.jdo.PersistenceManagerFactory

JDO JavaDoc Reference Documentation - The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances.