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