Fixes #3221: Added events for DB transaction commit/rollback