Internal Website Search

41-50 of 50 resultsRefresh

EntityTransaction.commit() does not release a pessimistic lock

, 0, LockModeType.PESSIMISTIC_WRITE);; em1.getTransaction().commit ... = em2.find(Account.class, 0, LockModeType.PESSIMISTIC_READ); // -> LockTimeoutException

Duplicate Entity class names causes Exception in Query

, CacheUsage.CheckCacheThenDatabase); /* q.setLockMode(LockModeType.OPTIMISTIC); */ try

Optimistic locking failure

> support Support It would be great if was fixed the same problem with LockModeType.READ:

Unable to persist TreeMap

.persistence.LockModeType; import javax.persistence.Persistence; //---------------- @Entity public

Updating Entities

/EntityManager/refresh_Object_LockModeType">refresh, and disable the

How to do multithreading with embedded ObjectDB

;      Point point = em.find(Point.class, 1, LockModeType.PESSIMISTIC

ObjectDB 2.4.0

#672). Fixed LockModeType.OPTIMISTIC (LockModeType.WRITE. Fixed exception when a named query

Threaded Test - Failed to commit transaction: Unexpected internal exception

;     LockModeType.PESSIMISTIC_WRITE).getSingleResult();     

ObjectDB 2.8.5

after using LockModeType.NONE. Fixed a bug in recovery from an exception

Pessimistic lock timeout - blocks indefinitely

, 1, LockModeType.PESSIMISTIC_WRITE, properties); One thread manages to do its update