Internal Website Search
61-70 of 200 resultsRefreshOptimisticLockException Have read read the documentation on optimistic locks, still not sure how to deal ... to commit transaction: Optimistic lock failed for object dmoshal David Moshal perhaps I should explain the problem, which is that the optimistic lock exception fails | |
getSingleResult()="Exception in javax.persistence">TransactionRequiredException - if a lock mode ... > - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement is rolled | |
getResultList()>TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails ... locking fails and only the statement is rolled back | |
getSingleResult()="Exception in javax.persistence">TransactionRequiredException - if a lock mode ... > - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement is rolled | |
getResultList()>TransactionRequiredException - if a lock mode has been set ... in javax.persistence">PessimisticLockException - if pessimistic locking ... > - if pessimistic locking fails and only the statement is rolled back | |
setLockMode(lockMode) class="description"> Set the lock mode type to be used for the query execution. - lock mode Returns: | |
javax.persistence.NamedQuery class="teaser"> (Optional) The lock mode type to use in query execution. (Optional) The lock mode type to use in | |
getLockMode() lock mode for the query. Returns: lock mode Throws | |
getLockMode(entity)> Get the current lock mode for the entity instance. lock mode | |
javax.jdo.Transaction> Optimistic transactions do not hold data store locks until commit time ... do not hold data store locks until commit time. locks until commit time. |