>  But if the
> entity doesn't override equals, everything gets wacky because equals()
> is not reflexive:
>
> proxyA.equals(realA) != realA.equals(proxyA)


In the current implementation, it can only break if we have the same
object twice, once as a proxy, and once as a direct reference. This _is_
kinda rare...


And I don't see how your solution fixes this. (It doesn not, in fact, seem
fixable.)


fooWhichDoesntOverrideEquals.equals(fooProxy)


is ALWAYS going to return false, no matter what we do.....


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to