Commit 811403fc authored by Jim Fulton's avatar Jim Fulton

Note that the transaction package is used outside of ZODB

parent 67388dcd
...@@ -3,9 +3,10 @@ Transactions ...@@ -3,9 +3,10 @@ Transactions
============ ============
Transaction support is provided by the `transaction Transaction support is provided by the `transaction
<http://transaction.readthedocs.io/en/latest/>`_ package, which is <http://transaction.readthedocs.io/en/latest/>`_ package
installed automatically when you install ZODB. There are 2 important [#transaction-package-can-be-used-wo-ZODB]_, which is installed
APIs provided by the transaction package, ``ITransactionManager`` and automatically when you install ZODB. There are two important APIs
provided by the transaction package, ``ITransactionManager`` and
``ITransaction``, described below. ``ITransaction``, described below.
ITransactionManager ITransactionManager
...@@ -23,3 +24,11 @@ ITransaction ...@@ -23,3 +24,11 @@ ITransaction
addBeforeCommitHook, getBeforeCommitHooks, addBeforeCommitHook, getBeforeCommitHooks,
addAfterCommitHook, getAfterCommitHooks addAfterCommitHook, getAfterCommitHooks
.. [#transaction-package-can-be-used-wo-ZODB] The :mod:transaction
package is a general purpose package for managing `distributed
transactions
<https://en.wikipedia.org/wiki/Distributed_transaction>`_ with a
`two-phase commit protocol
<https://en.wikipedia.org/wiki/Two-phase_commit_protocol>`_. It
can and occasionally is used with packages other than ZODB.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment