This one is a basic article, but it should get you started.
And it has lot of links at the end.
http://javaboutique.internet.com/Map_Java_Objects/
/keld
----- Original Message -----
From: "Schramm, Rich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 17, 2003 11:47 PM
Subject: [castor-dev] need help w/parent-child relationship
> Im searching for a simple (hopefully) working example for implementing persistance
> of a parent-child relationship. (Preferably with a 'role'. eg
> 'Person' with roles of Mother, Father, Son, Daughter. though Id settle for just a
> working parent/child , even single parent would work..)
>
> My search of the archive glean incomplete fragments that seem contradictroy at
> times. My interpretation so far is that I need to create a Person class, and a
> Person table plus a ParentChild table to handle the many-to-mapping.
> And the person class has to maintain two collections.
>
> Can anyone point me to an easy-to-follow example implemetation?
> And are there any limitations as to how deep the tree can grow?
>
> Thanks, Rich
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev