Re: re/ Bidirectionnal many to many relation

"Pierre Gilquin" <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Thanks Williams

The oemodeler is fine.

I finally succeed to do it in a generic way with a addToBothSide... method


Pierre
----- Original Message ----- 
From: "WILLIAM GARNETT" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, September 19, 2006 12:54 PM
Subject: re/ Bidirectionnal many to many relation


> Pierre,
> 
> 
> 
> The usual way to do many-to-many relationships is by the use of a join table
> (which may or not be flattened depending on the situation). It does not
> sound like this is what you have done.
> 
> 
> 
> Could you describe the way set up your relations in EOModeller.
> 
> 
> 
> Cheers,
> 
> Bill.
> 
> 
> 
> =================================================
> 
> 
> 
> Hi dear list,
> 
> 
> 
> 
> 
> I have a many to many relation from entities A to B managed in a Java client
> Recently, I had the reverse relationin my model.
> 
> When adding/removing Bs to/from A, I cannot use the corresponding method for
> the B object.
> 
> Is there a way to reflect the change for B when I want to display all its As
> ?
> 
> I have try to  processRecentChanges and refreshObject(b) in ec without
> success. Do you have others idea ?
> 
> 
> 
> Thanks in advance.
> 
> 
> 
> 
> 
> Pierre
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.