On Fri, 2006-05-12 at 07:55 -0500, Jeff Butler wrote: > Dogs and Cats is a simple illustration of a larger problem. Think of > a person object with lists of names, addresses, phone numbers, > contacts, etc. > > Does anyone know what Hibernate does with an object graph like this?
Hibernate prefers the use of Sets over Lists in order to avoid stuff like this, and why they make a big deal over hashcode and equals in their docs. Cheers, Chris
