Re: solved: advanced EOF: batch fetching relationship: can't fetch certain relationships
Re: solved: advanced EOF: batch fetching relationship: can't fetch certain relationships
- Subject: Re: solved: advanced EOF: batch fetching relationship: can't fetch certain relationships
- From: arturo <email@hidden>
- Date: Wed, 18 Feb 2004 16:55:47 -0500
----- Original Message -----
From: "Jonathan Rochkind" <email@hidden>
To: <email@hidden>
Sent: Wednesday, February 18, 2004 1:03 PM
Subject: solved: advanced EOF: batch fetching relationship: can't fetch
certain relationships
> Thanks to Alexander Spohr for giving me the idea for a solution.
>
> Switch in your own EODatabaseContext delegate right before calling
> batchFetchRelationship. Implement the
> databaseContextShouldFetchObjects delegate method, to take the
> EOFetchSpecification passed in, and turn _off_ "useDistinct". The
> batchFetchRelationship call now works, without SQL "select distinct"!
>
>
Does this affect databases other than MS-SQL? That is, ignoring the
issue about CLOBS.
-arturo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.