About transaction

151-160 of 200Refresh
JPA Doc
5

find(entityClass, primaryKey, lockMode)

locking failure causes transaction-level rollback the LockTimeoutException will be thrown ... TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified ... fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
5

find(entityClass, primaryKey, lockMode, properties)

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level ... TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified ... and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
5

find(entityClass, primaryKey, lockMode, properties)

but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction ... TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified ... locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
5

getResultList()

back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic ... exceeds the query timeout value set and the transaction is rolled back Since: JPA 1.0
JPA Doc
5

getResultList()

back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException ... execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 2.0
JPA Doc
5

getSingleResult()

mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails ... value set and the transaction is rolled back Since: JPA 1.0
JPA Doc
5

getSingleResult()

has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 2.0
JDO Doc
5

getTransactionalObjectId(pc)

. If the object identity is being changed in the transaction, by the application modifying one or more of the application key fields, then this method returns the current identity in the transaction. If there is no transaction in progress, or if none of the key fields is being modified
JDO Doc
5

isTransactional(pc)

Static Method javax.jdo.JDOHelper boolean isTransactional(   Object pc ) Tests whether the parameter instance is transactional. Instances whose state is associated with the current transaction return ... is transactional. Since: JDO 1.0 See Also: PersistenceCapable.jdoIsTransactional()
JDO Doc
5

jdoIsTransactional()

Method javax.jdo.spi.PersistenceCapable boolean jdoIsTransactional() Tests whether this object is transactional. Instances whose state is associated with the current transaction return true. Transient instances return false. Returns: true if this instance is transactional. Since: JDO 1.0