January 5, 2013

Why equals() and hashcode() is important for JPA and Hibernate

For you people out there, that have wonder why you should override equals() and hashcode(), when writing your Entity Beans, please read this JBoss wiki https://community.jboss.org/wiki/EqualsandHashCode