Fabio Cepeda

Posts Tagged ‘collections

Today, I experienced what I have read in this document from Hibernate a couple of months ago. The importance of the equals() and the hashCode() methods for hibernate when working with collections in persistent objects.
The problem:
I had an object that needed a many-to-many instead of a many-to-one relationship. Since last week I had [...]