Am Samstag, den 05.05.2007, 02:46 +0200 schrieb Andreas Jung:
> 
> --On 4. Mai 2007 22:33:05 +0100 Laurence Rowe <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to