[ZODB-Dev] Supporting a DataManager without Two Phase Commit
Christian Theune
ct at gocept.com
Sat May 5 08:36:52 EDT 2007
Am Samstag, den 05.05.2007, 02:46 +0200 schrieb Andreas Jung:
>
> --On 4. Mai 2007 22:33:05 +0100 Laurence Rowe <l at lrowe.co.uk> wrote:
> > Following a discussion with several of the sqlalchemy integration authors
> > on #plone today we came up with the following hack to implement this:
> > http://dev.plone.org/collective/browser/collective.lead/trunk/collective/
> > lead/tx.py
> >
>
> I think z3c.zalchemy is doing it right:
Nope, it's not.
The commit, which is executed in tpc_finish() might very well fail, e.g.
for serialization issues. That's not an uncommon thing and won't be
handled correctly.
I think the proposal from Laurence does a better job.
Christian
--
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20070505/a0f34315/attachment.bin
More information about the ZODB-Dev
mailing list