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 PROTECTED]>:
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/genkush%40rujel.net
>
> This email sent to [EMAIL PROTECTED]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to