About PESSIMISTIC_WRITE

61-70 of 200Refresh
JPA Doc
2

getResultList()

- if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic
JPA Doc
2

getResultList()

- 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
JPA Doc
2

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
JPA Doc
2

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
Forum
2

How to do multithreading with embedded ObjectDB

.PESSIMISTIC_WRITE);         point.setX(point.getX() + 1);   johnvu ... / JPA locking, by setting a pessimistic locking timeout, e.g. by: Map
Forum
2

OptimisticLockException

- since someone can change the object just after the refresh. In that case - use pessimistic locks. I read ... the object just after the refresh. In that case - use pessimistic locks" However, my application runs ... help me. Pessimistic locks might not help either, given #3 above, ie: it seems like last update wins
JDO Doc
2

javax.jdo.Constants

See Also: PersistenceManagerFactory.supportedOptions() String OPTION_NONTRANSACTIONAL_WRITE "javax.jdo.option ... _NONTRANSACTIONAL_WRITE The name of the persistence manager factory element's "nontransactional-write" attribute. The name of the persistence manager factory element's "nontransactional-write" attribute
Issue
2

Threaded Test - Failed to commit transaction: Unexpected internal exception

(                     LockModeType.PESSIMISTIC_WRITE).getSingleResult();                 em.remove(p ... the ordered query and writing to the second database. Again, I'm not sure if this is a problem
Issue
1

InternalException during producer/consumer scenario

and LockMode set to PESSIMISTIC_WRITE. This results in the exceptions below. Could you advise on the errors
Issue
1

ObjectDB 2 JDO Manual

The new ObjectDB Manual describes how to use ObjectDB 2 with JPA. An additional manual that focuses on using ObjectDB 2 with JDO can help JDO users. But since writing a new manual ... commit) pessimistic locking is something I miss, for example, and it to some degree it is a compromise