Internal Website Search

161-170 of 200 resultsRefresh

find(entityClass, primaryKey, lockMode)

transaction-level rollback the LockTimeoutException will be thrown ... > - if there is no transaction and a lock mode other than NONE is specified - if pessimistic locking fails and the transaction is rolled back

javax.persistence.PersistenceContext

) Specifies whether a transaction-scoped persistence context or an extended persistence context ... ) Specifies whether a transaction-scoped persistence context or an extended persistence context ... > javax.persistence.PersistenceContextType.TRANSACTION

lock(entity, lockMode, properties)

>PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback TransactionRequiredException - if there is no transaction transaction is rolled back

find(entityClass, primaryKey, lockMode, properties)

> the PessimisticLockException will be thrown if the database locking failure causes transaction ... > - if there is no transaction and a lock mode other than NONE is specified PessimisticLockException - if pessimistic locking fails and the transaction

setTransactionIsolationLevel(level)

for transaction isolation level for this PMF. Transaction isolation levels are defined in javax.jdo ... "> Parameters: level - the transaction

jdoIsTransactional()

> Tests whether this object is transactional. Instances whose state is associated with the current transaction return true. Transient instances return false ... > true if this instance is transactional.

find(entityClass, primaryKey, lockMode, properties)

will be thrown if the database locking failure causes transaction-level rollback - if there is no transaction and a lock mode other than NONEtransaction is rolled back

makeNontransactional(pc)

) Make an instance non-transactional after commit. Normally, at transaction completion, instances are evicted from the cache. This method allows an application to identify an instance as not being evicted from the cache at transaction

getTransactionalObjectId(pc)

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

isTransactional(pc)

> Tests whether the parameter instance is transactional. Instances whose state is associated with the current transaction return true. Transient instances ... if the parameter instance is transactional.