Microsoft .NET Framework Data Provider for Oracle problem executing scripts
-
05-09-2019 - |
Question
We are having trouble executing scripts that begin with BEGIN and are having multiple procedures or triggers with the aforementioned provider. Execution of those fails. Has anyone eperienced similiar problems?
Solution
I believe that is a 'feature' of MS DPO.
The Oracle database does not support multiple transactions on a single connection—they are always scoped at the connection level. Accordingly, ODP.NET propagates a transaction to commands executed on the connection. The Microsoft provider requires you to explicitly assign the transaction to each command.
Consider using ODP.NET if you can.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow