unfortunately hair pulling is the modus operandi with this type of project; me, i'm going bald very quickly from all this !!!! ( I too am on my own, using only the EJB Book and the forums )
sounds to me like trying to get XDoclet to auto-generate CMR code for a boundary condition might get you into more trouble than it's worth . Why dont you program it yourself in a session bean, and just use the ejb.finders for handling the self-referencing queries ? similarly, by the time I got a response to my question last week, I had already programmed the 3 beans (M bean, N bean, and the relationship bean) myself with my Session code taking care of all the relationship stuff (finders and cascade deletes)... it wasnt that much work... If I have another M:N relation in my app I will use the jboss.relation-table but for the moment I am happy using my code as it is... it give me the flexibility to add more fields to the relation table. cheers, Nat On Sat, 5 Apr 2003, Michael Delamere wrote: > Hi Nat, > > Thanks very much for your reply. I�m actually pulling my hair out this very > moment getting a bean working that has a relationship with itself! I will > check out the links below. Thanks again. > > Michael > > > ----- Original Message ----- > From: "Nathaniel Rahav" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Saturday, April 05, 2003 7:05 AM > Subject: Re: [Xdoclet-user] Need help with relationship error.... > > > > Dear Michael, > > I posted this exact question last week. See the very helpful answer I got > which explains the exact syntax for doing this: > > http://sourceforge.net/mailarchive/message.php?msg_id=4259983 > > and the reply from Mr. Joel Rives > > http://sourceforge.net/mailarchive/message.php?msg_id=4264250 > > cheers, > > Nat ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
