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


---- Original Message --------
>Message: 11
>From: "Michael Delamere" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re: [Xdoclet-user] Need help with relationship error....
>Date: Thu, 3 Apr 2003 11:24:02 +0200
>Reply-To: [EMAIL PROTECTED]>
>
>Heiko,
>
>thanks for your reply.  In that case I must be misunderstanding
>something.
>
>I have a CustomerProfieBean in which the code you quoted below resides.
>I
>want to create an m-n relationship with a ProfileBean and a CustomerBean.
>In the book "Mastering EJB" it is recommended to create a third EJB with
>two
>1-n relationships to accomodate this.  In my case it is the
>CustomerProfileBean.
>
>My CustomerProfileBean holds the foreign key "profileIdFk" and I want it
>to
>relate to the field "id" in my ProfileBean.  The same goes for the
>customer
>relation (i.e. CustomerProfileBean.customerIdFk -> CustomerBean.id).
>
>Should my "@jboss.relation" thus display something else?  I.e. perhaps
>the
>field of the Profile rather than that of the CustomerProfile.
>
>I would really appreciate your help once again to clarify what I�m doing
>wrong.
>
>Thanks very much.
>
>Michael







-------------------------------------------------------
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

Reply via email to