OK, that makes sense! Thanks for clearing this up; I can stop worrying about it now ;-)
Lastly, thank you (and other contributors) for all your time and effort on Magma - I'm using it in a web app, and it's proven to be a simple, elegant system, deserved of a far wider audience...
Happy 2011!
Amir
On Fri, 31 Dec 2010 10:58:23 -0600 Chris Muller asqueaker@gmail.com wrote:
Hi Amir, each session has its *own* view of the persistent object model. It's own copy. It _must_ be that way, or else when one session changes an object it will appear "changed" for the other sessions too.
You are perfectly welcome to use identity-based checking in your Magma programs, as long as you do the check on objects from the same session.
However, as previously stated, you must ensure that identityHash is never part of the hash calculation, because the hash determines its position in the Dictionary, and it will not be the same between sessions.
HTH, Chris