Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How can I avoid getting ORA-02074: cannot Rollback in a distributed transaction ?
Hello ! I solved this myself through Metalink:
Problem Description
Solution Description
Explanation
per.x.bengtsson_at_telia.se (Per Bengtsson) wrote in message news:<99af783d.0210250431.781418ce_at_posting.google.com>...
> I get "ORA-02074: cannot Rollback in a distributed transaction" and
> "ORA-02074: cannot Set Savepoint in a distributed transaction" when calling
> a Stored Procedure from a (Delphi) ADO application using OraOLEDB.
>
> How can I get around it ?
> Do I have to remove all ROLLBACK, COMMIT and SET SAVEPOINT from the
> procedure ?
> I tried to call ADOConnection.BeginTrans and ADOConnection.CommitTrans before and
> after the call to the procedure but it didn't help.
>
> Need help !
>
> /Per Bengtsson
Received on Tue Oct 29 2002 - 06:08:10 CST