I have a strange situation. When I want to claim a task by a REST API request I get:
11-Jun-2019 20:30:46.249 WARNING [http-nio-8180-exec-8] org.camunda.bpm.engine.rest.exception.ProcessEngineExceptionHandler.toResponse org.camunda.bpm.engine.OptimisticLockingException: ENGINE-03005 Execution of ‘UPDATE TaskEntity[8d015aa0-8c4c-11e9-a4dd-005056a25cf3]’ failed. Entity was updated by another transaction concurrently.
The request is this:
This happen on an Oracle 12c database (CentOS) on my test platform.
Instead, on an Oracle 18.4 XE (Windows - development platform) it doesn’t happen.
On both databases I have Read Commited Transaction Isolation Level.