Oracle Error ORA-02074: cannot string in a distributed transaction

Oracle Error Message

ORA-02074: cannot string in a distributed transaction

Reason for the Error

A commit or rollback was attempted from session other than the parent of a distributed transaction.

Solution

Only commit or rollback from the parent session.