[ZODB-Dev] persisting "immutable" classes

John Belmonte john at neggie.net
Mon Mar 1 14:55:36 EST 2004


Jeremy Hylton wrote:
> That's right.  The database only invokes conflict resolution on
> first-class objects, because it has no way to refer to the state of
> contained objects.  Second-class objects don't have identifiers (in
> other words, they're not first class :-).

This isn't obvious to me.  If an OOBTree having string keys can resolve 
conflicts, why not one having instances of my simple class as keys?  In 
the former case, how does conflict resolution work without the string 
objects having database identifiers?

-John


-- 
http:// if  ile.org/



More information about the ZODB-Dev mailing list