• 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: cross-model relationships problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross-model relationships problem


  • Subject: Re: cross-model relationships problem
  • From: Art Isbell <email@hidden>
  • Date: Sun, 18 Nov 2007 22:48:01 -1000

On Nov 18, 2007, at 9:00 PM, Lachlan Deck wrote:

Is the flattening the problem when crossing models?

Yes. Any SQL that EOF generates that contains tables in more than one database will be invalid for most database servers.


Any other ideas on how to get this working?


You should be able to accomplish the same goal by unflattening the cross-eomodel relationships and fetching all objects in the join entity in one eomodel that satisfy the qualifier. Then build a qualifier from the primary keys of the fetched join entity objects that will select objects in the entity in the other eomodel. Not explained very clearly, so I hope you can figure this out.

Aloha,
Art

_______________________________________________
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: cross-model relationships problem
      • From: Lachlan Deck <email@hidden>
References: 
 >cross-model relationships problem (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Back to Tiger YEEEEEHAWWW!!
  • Next by Date: Re: Back to Tiger YEEEEEHAWWW!!
  • Previous by thread: cross-model relationships problem
  • Next by thread: Re: cross-model relationships problem
  • Index(es):
    • Date
    • Thread