Yes, thats the way I'm doing it. 

On Sat, 5 Apr 2003, Michael Delamere wrote:

> Nat,
> 
> Yes, if I continue the way I have been going, I�ll be bald soon aswell ;-) !
> 
> I think you�re probably right because I had it working before I tried to
> autogenerate the self-referencing beans using xdoclet.  Before I end up
> wasting further hours trying to get it working I�ll revert back to the
> session bean idea.
> 
> How do you actually send your data back to the client from your session
> facade when you have a collection of local enity beans?  Do you iterate
> through the collection of local entity beans in order to fill the value
> objects creating a new collection or is there a better way?
> 
> Good luck with your app and thanks again.
> 
> Regards,
> 
> Michael
> 
> 
> 
> ----- Original Message -----
> From: "Nathaniel Rahav" <[EMAIL PROTECTED]>
> To: "Michael Delamere" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, April 05, 2003 7:24 AM
> Subject: Re: [Xdoclet-user] Need help with relationship error....
> 
> 
> 
> 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

Reply via email to