Hi,
The implementation of ObjectId caches its hashcode because it says it
is immutable. Does this mean that when a DataObject is modified in
memory, it gets assigned a new ObjectId instance? It would be nice to
mention this somewhere in the Javadoc. This is important because I'm
wondering what ObjectId.equals() means ... it is important for end-users
to know whether this simply compares the primary keys, the values of all
the attributes, etc. Depending on what it does it will have different
usefulness.
Thank you,
Gili
-- http://www.desktopbeautifier.com/
This archive was generated by hypermail 2.0.0 : Sat Sep 03 2005 - 02:10:19 EDT