• 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: Lachlan Deck <email@hidden>
  • Date: Tue, 20 Nov 2007 05:55:59 +1100

On 19/11/2007, at 7:48 PM, Art Isbell wrote:

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.

Ah, good. Easily overcome.

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.

Yep. Unflattening explained it all. Thanks.

with regards,
--

Lachlan Deck



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

  • Prev by Date: Re: SQL Server questions
  • Next by Date: EOModelGroup defaultGroup question
  • Previous by thread: Re: cross-model relationships problem
  • Next by thread: Ecplise-WOLips / javaEOgenerator - look forward to a find solution!
  • Index(es):
    • Date
    • Thread