Oracle Error ORA-02089: COMMIT is not allowed in a subordinate session

Oracle Error Message

ORA-02089: COMMIT is not allowed in a subordinate session

Reason for the Error

COMMIT was issued in a session that is not the two-phase commit global coordinator.

Solution

Issue commit at the global coordinator only.