Willadsens wrote at 2005-4-3 19:10 -0400:
> ...
>Correct, and very intentional. The current question is: semaphore or 
>trap error and retry?

The standard way is to catch the "ConflictError", abort the transaction
and then retry the transaction.

Of course, you can try to serialize your transactions.

Be aware, however, that "ConflictError" can arise from
any concurrent transactions -- you must *always* expect
"ConflictError" unless you do not have concurrent transactions.

-- 
Dieter
_______________________________________________
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db

Reply via email to