Regarding overriding of hashcode() and equals() method in Hibernate.
Joined: May 21, 2008
I want to know that Why do we override hashcode() and equals() methods in domain object?
And I saw in only certain cases we override them and not in all domain classes,so When should we override them in domain?
Please answer my queries.