About optimistic

71-80 of 89Refresh
Issue
3

Query in nested transaction returns detached entity if lazy-loaded

, during the commit an optimistic lock exception is thrown. The version flag of the entity was unexpectedly ... in our tool. Caused by: com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic ... (TransactionManagerImpl.java:311)     ... 45 more Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock
Result
3

ObjectDB version 2.4.0

classes (issue #672). Fixed LockModeType.OPTIMISTIC (READ) by handling it as OPTIMISTIC_FORCE_INCREMENT. Fixed a bug in optimistic locking on find by using LockModeType.WRITE. Fixed exception
Forum
2

Failed to commit transaction: Attempt to commit a rollback only transaction

="32mb" programs="500" />   note: optimistic locking is off update 1: problem persists if optimistic locking set to true in config file update 2: problem goes
Forum
1

Criteria query error: Unexpected query token

) @GeneratedValue private Long id; /** * Version of object, supporting optimistic
Forum
1

Duplicate Entity class names causes Exception in Query

.OPTIMISTIC); */ try { java.lang.Object r = q.getSingleResult(); return (NoIdQueryMapItem
Issue
1

Entity Version History

ObjectDB manages automatic entity versioning (for optimistic lock purposes). Every entity object modification is reflected by a new version number. Naturally, previous values in the entity object that are overridden by new values are discarded. Some applications may benefit from the ability
Forum
1

ObjectDB version 2.1 has been released

the download). Added support of disabling optimistic locking exceptions. Added support of url
Forum
1

Pessimistic Lock Timeouts setting

the meantime, I'll use an optimistic lock and fail on stale updates. Support of pessimistic lock timeout
Issue
1

Remove an entity which attributes were changed

We use an OSGi environment and we have three OSGi plugins.   In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic lock
Forum
1

Remove not working

"); properties.setProperty("javax.jdo.option.Optimistic", "true"); properties