On Mar 11, 2009, at 12:46 PM, David Avendasora wrote:
Hi all,
I've run into something that I haven't been able to find documented
anywhere, but does seem to fit with other Cross-Model relationship
issues (http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00058.html
).
If you have a cross-model relationship, you can't prefetch the
relationship when constructing an EOFetchSpecification. It will
simply return null, or an empty NSArray if it is a to-many
relationship. Subsequent calls to the relationship simply return
null or the empty NSArray.
I should clarify. The FS returns an NSArray of EOs as you'd expect,
but each of those EO's prefetched cross-model relationship is null or
an empty NSArray.
Is this the expected behavior? It seems logical, but unexpected to
me (Yes, those two concepts can coexist simultaneously in my brain).
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]