Depending on the application's RunContextFactory, copying the current RunContext can create a new transaction as well and transaction-bound resources must be obtained again. Typically, these resources are also limited and managed by a pool (e.g. DB connections). If the outer and inner transactions require a limited resource, deadlocks can occur.
Depending on the application's RunContextFactory, copying the current RunContext can create a new transaction as well and transaction-bound resources must be obtained again. Typically, these resources are also limited and managed by a pool (e.g. DB connections). If the outer and inner transactions require a limited resource, deadlocks can occur.
393747