• 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: Mike Schrag <email@hidden>
  • Date: Fri, 30 May 2008 16:46:07 -0400

Like I was saying to Mike, it's simply a guard against performance issues. It's like omitting inverse relationships
when you know that it would be suicide if anyone tried to traverse (or inadvertently tripped) them.
e.g. transaction -> user_agent is a fine relationship to model but would you even dream of modeling the inverse relationship?
Maybe you would if you only made one sale a week.
I'm with you here, but the same would be true of the non-flattened, right? If you don't want to fault the relationship, don't model it, but that seems to me more of a pragmatic decision about the existence (or not) of the relationship rather than specially related to many-to- many flattening. As far as I know, the faulting rules should be the same.

ms

_______________________________________________
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


References: 
 >Relationship across model boundaries failing (From: Juergen Lorenz Simon <email@hidden>)
 >Fwd: Relationship across model boundaries failing (From: "Gennady Kushnir" <email@hidden>)
 >Re: Relationship across model boundaries failing (From: Alan Ward <email@hidden>)
 >Re: Relationship across model boundaries failing (From: Mike Schrag <email@hidden>)
 >Re: Relationship across model boundaries failing (From: Chuck Hill <email@hidden>)
 >Re: Relationship across model boundaries failing (From: Alan Ward <email@hidden>)

  • Prev by Date: Re: Relationship across model boundaries failing
  • Next by Date: Re: Relationship across model boundaries failing
  • Previous by thread: Re: Relationship across model boundaries failing
  • Next by thread: Looking forward to 5.4.2
  • Index(es):
    • Date
    • Thread