Is there a way to tell if I have uncommitted work (ie DML) in a transaction? Maybe a data-dictionary view I can query?
A method to find this out both from within an
SELECT * FROM v$session v WHERE v.AUDSID = userenv('sessionid') AND v.TADDR IS NOT NULL