Where does the commit or rollback happen in PL/SQL code? Posted on September 12, 2021 by Sayan Malakshinov Posted in diagnostic event 10046, oracle, PL/SQL, trace, troubleshooting, undocumented 1 Comment One of the easiest ways is to use diagnostic events: alter session set events 'sql_trace {callstack: fname xctend} errorstack(1)';