Oracle Error ORA-24776: cannot start a new transaction

Oracle Error Message

ORA-24776: cannot start a new transaction

Reason for the Error

An attempt was made to start a new transaction when session was already attached to an existing transaction.

Solution

End the current transaction before creating a new transaction.