[Zope-dev] transaction_manager attribute of transaction.interfaces.IDataManager

Wichert Akkerman wichert at wiggy.net
Tue Jun 8 06:27:15 EDT 2010


On 6/8/10 12:25 , Chris Withers wrote:
> Laurence Rowe wrote:
>>      transaction_manager = zope.interface.Attribute(
>>          """The transaction manager (TM) used by this data manager.
>>
>>          This is a public attribute, intended for read-only use.  The value
>>          is an instance of ITransactionManager, typically set by the data
>>          manager's constructor.
>>          """)
>>
>> This seems to be used only in the tests, I guess it would be useful if
>> you were using multiple transaction managers in a single thread.
>
> Can you think fo examples where that would happen?
>
> What is a "transaction manager"?

See transaction.interfaces.ITransactionManager

Wichert.


More information about the Zope-Dev mailing list