OraclaPackage and OracleTransaction

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
degas
Posts: 77
Joined: Mon 16 Feb 2009 18:36
Location: Argentina

OraclaPackage and OracleTransaction

Post by degas » Mon 16 Feb 2009 18:48

Is the a workaround to be able to use OraclePackages methods within a Transaction. For what i read in the documentation, there is only a transaction property for the OracleCommand.
Thnanks

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Wed 18 Feb 2009 11:39

Please call the BeginTransaction() method of the OracleConnection object. Assign this OracleConnection object to the Connection property of the OraclePackage object. You can use the OraclePackage methods within a transaction in this way.

Post Reply