kodo.util.OptimisticVerificationException

Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [model.WfMessageQueue@1b2b10a] [java.util.ArrayList]

Solutions on the web14

  • via Oracle Community by 3004, 1 year ago
    Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [model.WfMessageQueue@1b2b10a] [java.util.ArrayList]
  • via Oracle Community by 3004, 1 year ago
    Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [...] [java.util.ArrayList]]
  • via Oracle Community by 3004, 1 year ago
    An optimistic lock violation was detected when flushing object "customer.model.Customer@1095fd7" with id "customer.model.Customer-99" to the data store. This indicates that the object was concurrently modified in another transaction. FailedObject:customer.model.Customer@1095fd7
  • Stack trace

    • kodo.util.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [model.WfMessageQueue@1b2b10a] [java.util.ArrayList] at kodo.runtime.PersistenceManagerImpl.throwFlushException(PersistenceManagerImpl.java:1290) at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1155) at kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1038) at kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:965) at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69) at kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:625) at model.AbstractUseCase.execute(WfMessageService.java:327) at model.WfMessageService.reallyPushMessage(WfMessageService.java:110) at model.WfMessageService.access$0(WfMessageService.java:108) at model.WfMessageService$1.run(WfMessageService.java:102) at model.WfMessageService.pushMessageLater(WfMessageService.java:105)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.