Most of our persistent classes (i.e., classes managed by Hibernate) do not implement equals() and hashCode(). These methods are almost always critical for entity types as well as as any class in which instances are stored in a Collection. Documentation on this can be found in the Hibernate reference manual at http://www.hibernate.org/hib_docs/reference/en/html/persistent-classes.html. This article on the Hibernate site, http://www.hibernate.org/109.html also provides some good information. Frank, I have been working on some test utility code that will be useful for testing equals() and hashCode() as well as other Hibernate code; so, I do not mind assigning this to myself. ---- Data relocated from Jira (JBNET-2161)
Please close this bug. It is a duplicate of bug 453183.
*** This bug has been marked as a duplicate of bug 453183 ***