Database Triggers
A trigger associated with a database or transaction event can be defined for the following events:
| Connecting to a database | 
 | Before the trigger is executed, a transaction is automatically started with the default isolation level (snapshot (concurrency), write, wait) | 
| Disconnecting from a database | 
 | Before the trigger is executed, a transaction is automatically started with the default isolation level (snapshot (concurrency), write, wait) | 
| When a transaction is started | 
 | The trigger is executed in the transaction context of the started transaction (immediately after start) | 
| When a transaction is committed | 
 | The trigger is executed in the transaction context of the committing transaction (immediately before commit) | 
| When a transaction is cancelled | 
 | The trigger is executed in the transaction context of the rolling back transaction (immediately before roll back) |