On Tue, 5 Nov 2002, Roger Haase wrote:


Hy

I just read the thread about locking in MiddleKit,
I 've never used MiddleKit in a real life (only 
for testing in python only), but I usually work
w/ a closed source kit at work which have quite
the same behaviour. And I just wondering why you
not simply use a objecStore by session. By this
way you always get only one 'context' for a user
so user can update same objects without problem
(read broken object), last save will won. Another
way is to have a RootObjectStore and Childs, calling
saveChanges() on a child will only tranfer object
from the child to the root, saving root => save 
to db. 

Bye Bye


Reply via email to