Callback to use with DatabaseConnection.setRollbackHook.
Called whenever a transaction is rolled back.