| |
- SQLTransactionAware
- Surrogate
class SQLTransactionAware |
|
Mix-in class that provides transaction management support
A sub class should call _register() whenever it performs
any transaction-dependent operations (e.g. sql statements).
The sub class will need to override:
_begin if necessary
_vote to raise an except if necessary
_finish to finallize work,
_abort to roll-back work
_postCommit to guaruntee all commit processing is done
This is similiar in nature to TM.py and some ZPatterns code. |
|
Methods defined here:
- abort(self, *args)
- commit(self, *args)
- tpc_begin(self, *args)
- tpc_finish(self, *args)
|
|