Oracle DatabaseAutonomous Transactions


Remarks

Typical use cases for autonomous transaction are.

  1. For building any kind of logging framework like the error logging framework explained in the above example.
  2. For auditing DML operations in triggers on tables irrespective of the final status of the transaction (COMMIT or ROLLBACK).