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?
Jeff Butler
On 5/11/06, Daniel Pitts <[EMAIL PROTECTED]> wrote:
Honestly, the solution I would choose is very different....Make a "Pets" table that has both dog and cat :-)Or, if you must use this schema... When you query for people, do one query for "People with Cats", and one for "People with Dogs" and then merge the results.
