Home » Search

About transaction

141-150 of 200Refresh
JDO Doc
4

Constants.TX_SERIALIZABLE

Static Field javax.jdo.Constants String TX_SERIALIZABLE Transaction isolation level representing the requirement to serialize transactions. Since: JDO 2.2 See Also: PersistenceManagerFactory.getTransactionIsolationLevel() Transaction.getIsolationLevel()
JPA Doc
4

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
4

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
4

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
4

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
4

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
4

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
4

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
4

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
4

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()