Community
Participate
Working Groups
It would be very helpful if the automatic generation of Java equals() [Source => "Generate hashCode() and equals()"] would give the option of generating references to the other object's getters rather than always directly referencing the members in the other object themselves. Sometime the other object may be an automatically generated proxy (for example, by Hibernate) where there may not be access to the members in the other object but one would like the option of being able to return true for equality. There's reference to this in "Java Persistence with Hibernate" page 400 which is in section 9.2 "Object identity and equality". I did do a search for this; apologies if there's an existing report/discussion/plan that I missed.
*** This bug has been marked as a duplicate of bug 153738 ***