Details
-
Sub-task
-
Resolution: Done
-
L3 - Default
-
None
-
None
Description
As a user, I can use the Camunda process engine with CockroachDB, while utilizing frameworks with external transaction management (Spring, Java EE).
Expected scenario:
Given:
A setup where the process engine is used in the scope of Spring or Java EE with external transaction management.
When:
Two concurrent transactions are executed, and one of them fails with a CrdbTransactionRetryException (OLE).
Then:
One of the following cases occurs:
- For an external transaction, the exception is re-thrown to the caller as an OptimisticLockingException.
- For a process-engine-exclusive transaction, the transaction is retried.