Daniel,

This is a good question. However, I'd say this is an expected behavior. 

Think of it as in Java. Even if your addr and addr2 are equal, doesn't mean they are 
the same object instance. Therefore, if you do mary.setAddree(addr1), then joe and 
mary will own different address instances.

And this is the behavior in TreeCacheAop now of object identity. Track only the 
reference but not based object equality.

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854144#3854144

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854144


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to