Fwd: Relationship across model boundaries failing
Fwd: Relationship across model boundaries failing
- Subject: Fwd: Relationship across model boundaries failing
- From: "Gennady Kushnir" <email@hidden>
- Date: Fri, 30 May 2008 23:47:13 +0400
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:
>
> 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