Re: Relationship across model boundaries failing
Re: Relationship across model boundaries failing
- Subject: Re: Relationship across model boundaries failing
- From: Alan Ward <email@hidden>
- Date: Fri, 30 May 2008 14:11:59 -0600
IMHO you should never flatten a many-to-many (especially across models).
Alan
On May 30, 2008, at 1:47 PM, Gennady Kushnir wrote:
Flattening relationshops (consequently - many-to-many relations) does
not work across database (consequently - EOModel) boundaries
Unfortunately.
It is mentioned in Using EOModeler manual. So you have to traverse
relationships programmatically I assume.
Gennady
2008/5/29 Juergen Lorenz Simon <email@hidden>:
Hi,
I'm trying to model a relationship across two EOF Models:
Model FirstModel (database name firstmodel)
Entity A
Model B (database name secondmodel)
Entity B
Now I have an n:m relationship between the two entities. So in Model
FirstModel,
I create join tables AB, which has relationships pointing to B.
A -> AB -> B
When I try to add or delete objects, the resulting SQL has the
wrong table
name.
Instead of looking to firstmodel.AB, it looks for secondmodel.AB
instead!
I'm using Project Wonder, WebObjects 5.3 and MySQL.
Anyone got an idea what that might be?
Cheers,
J.L.Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40rujel.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden