[ZODB-Dev] database conflict fail

Vincent Pelletier vincent at nexedi.com
Thu Mar 22 09:29:08 UTC 2012


Le Wed, 21 Mar 2012 21:04:20 -0400,
Claudiu Saftoiu <csaftoiu at gmail.com> a écrit :
> I definitely want to keep the latest update.

Then, if the change alters just one persistent object, you can write a
conflict resolution method on the class of that object
(_p_resolveConflict). Note, through, that this only means you will keep
the latest in commit order, not in transaction-begin order.

-- 
Vincent Pelletier
ERP5 - open source ERP/CRM for flexible enterprises


More information about the ZODB-Dev mailing list