Re: cross-model relationships problem
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