Home » Search

About OptimisticLockException

11-20 of 27Refresh
Forum
24

Remove an entity which attributes were changed - OptimisticLockException

and will fail with OptimisticLockException if user 1 is committing or flushing the changes before user 2 ... , which is increased on every update. An OptimisticLockException is thrown when that version number indicates
Forum
24

OptimisticLockException

Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version 2 instead of 3) Also the first time I'm using odb in C/S mode rather than embedded
Forum
21

OptimisticLockException

OptimisticLockException
JPA Doc
19

javax.persistence.EntityManager

when obtaining the database lock. If these checks fail, the OptimisticLockException will be thrown ... mode other than NONE is specified OptimisticLockException - if the optimistic version check fails ... the database lock. If these checks fail, the OptimisticLockException will be thrown. If the lock mode type
JPA Doc
9

find(entityClass, primaryKey, lockMode)

, the OptimisticLockException will be thrown. If the lock mode type is pessimistic and the entity ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking
JPA Doc
9

find(entityClass, primaryKey, lockMode, properties)

checks when obtaining the database lock. If these checks fail, the OptimisticLockException ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
JPA Doc
9

find(entityClass, primaryKey, lockMode, properties)

version checks when obtaining the database lock. If these checks fail, the OptimisticLockException ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic
JPA Doc
9

lock(entity, lockMode)

. If these checks fail, the OptimisticLockException will be thrown. If the lock mode type is pessimistic ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking
JPA Doc
9

lock(entity, lockMode, properties)

, the OptimisticLockException will be thrown. If the lock mode type is pessimistic and the entity instance is found ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
JPA Doc
6

javax.persistence.PersistenceException

, OptimisticLockException, PessimisticLockException, QueryTimeoutException, RollbackException, TransactionRequiredException