ECs synchronization and optimistic locking [was: Re: Another question about sessions and EditingContexts]

Sebastien Bigaret <[email protected]> 07 Mar 2004 21:41:14 +0100
Newsgroups gmane.comp.python.modeling
Message-ID <[email protected]>
        Hi all,

  I've just uploaded a patch (#911567) for ECs synchronization upon
  saveChanges(), and for optimistic locking.

https://sf.net/tracker/index.php?func=detail&aid=911567&group_id=58935&atid=489337


This is alpha software:

  * For now, ECs synchronization works for updated objects, not deleted
    ones, and it does not work for nested ECs.

  * Optimistic locking is implemented and works well, but it's not been
    heavily tested.

The patch is shipped with a new test, test_EC_optimistic_locking.py,
which hopefully demonstrates what can be expected from these new
features.

  Bug/error reports will be preferably directed to the corresponding
sf's ticket #911567, and discussions, questions, etc. about the new
feature can take place here on the mailing-list.  Thanks in advance to
those who will have some time to test the patch!

-- Sébastien.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click