com.solarmetric.kodo.runtime.OptimisticLockException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Understand OptimisticTransactions
    via by 3004,
  • Problems with Oracle 9.0.1.1.1
    via by 3004,
    • com.solarmetric.kodo.runtime.OptimisticLockException: An instance was concurrently modified in another transaction (optimistic lock #: 30). FailedObject:com.verideon.veriguard.domain.Monitor-161350 at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping$2.afterUpdate(ClassMapping.java:624) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementNonBatch(SQLExecutionManagerImpl.java:547) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:496) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeInternal(SQLExecutionManagerImpl.java:390) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.flush(SQLExecutionManagerImpl.java:257) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:472) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:634) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:471) at com.verideon.veriguard.services.util.DispatcherThread.updateMonitorTimes(DispatcherThread.java:164) at com.verideon.veriguard.services.util.DispatcherThread.execute(DispatcherThread.java:77) at com.verideon.veriguard.services.util.DispatcherThread.run(DispatcherThread.java:69) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732) at java.lang.Thread.run(Thread.java:536)
    No Bugmate found.