Closed thomasdc closed 5 years ago
@mookid8000, I see you have self-assigned this issue. Do you want me to create a pull request or will you fix it yourself?
@thomasdc oh please send a PR 😁 I guess I self-assigned out of reflex
Fixed by #8
It's out Rebus.Oracle 2.0.0-a2 and Rebus.Oracle.Devart 2.0.0-a2
Rebus.Oracle
is missing support for enlisting in an ambient transaction scope viaRebus.TransactionScopes
.Minimal sample to reproduce the issue:
NuGet packages referenced:
I get the following error:
Connection is already part of a local or a distributed transaction
.The problem lies in
OracleConnectionHelper
that always begins a new transaction causing it to be nested.In Rebus.SqlServer support was added in commit 6c72dd32b182554dbee3f542fd0fb299d731b592. Can we do the same for
Rebus.Oracle
?Ps: nowadays, you can easily spin up an Oracle database in a local Docker container via this image to test the sample above.