ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lamey <cla...@localmatters.com>
Subject Re: One query populating *multiple* lists per object returned
Date Fri, 12 May 2006 15:30:27 GMT
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.


View raw message