Learn the reason and how to unravel the ORA-04092 error message in Oracle.
When you come upon an ORA-04092 error, the following error message will appear:
ORA-04092: cannot COMMIT or ROLLBACK in a trigger
You tried to operate a COMMIT or ROLLBACK in a trigger. This is not allowed.
The option(s) to resolve this Oracle error are:
Re-write your trigger so that COMMITs and ROLLBACKs are no longer issued.