• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Relationship across model boundaries failing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Relationship across model boundaries failing
      • From: Mike Schrag <email@hidden>
References: 
 >Relationship across model boundaries failing (From: Juergen Lorenz Simon <email@hidden>)
 >Fwd: Relationship across model boundaries failing (From: "Gennady Kushnir" <email@hidden>)

  • Prev by Date: Fwd: Relationship across model boundaries failing
  • Next by Date: Re: Relationship across model boundaries failing
  • Previous by thread: Fwd: Relationship across model boundaries failing
  • Next by thread: Re: Relationship across model boundaries failing
  • Index(es):
    • Date
    • Thread