[ZODB-Dev] Shared/DC/ZRDB/TM.py:_register

Andreas Jung lists at zopyx.com
Tue May 13 14:19:31 EDT 2008



--On 13. Mai 2008 20:08:15 +0200 Dieter Maurer <dieter at handshake.de> wrote:

> Andreas Jung wrote at 2008-5-13 10:44 +0200:
>> ...
>>> Is there any reason why TM._register is hiding exceptions ?
>>
>> Isn't the right approach for integrating a module with ZODB transactions
>> using a ZODB DataManager?
>
> "Shared.DC.ZRDB.TM.TM" is the standard Zope[2] way to implement a
> ZODB DataManager.

Nowadays you create a datamanager implementing IDataManager and join it 
with the current transaction. Shared.DC.ZRDB.TM.TM is pretty much 
old-old-old-style.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20080513/ee44131e/attachment.bin


More information about the ZODB-Dev mailing list