• 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: solved: advanced EOF: batch fetching relationship: can't fetch certain relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: solved: advanced EOF: batch fetching relationship: can't fetch certain relationships
      • From: Jonathan Rochkind <email@hidden>
References: 
 >advanced EOF: batch fetching relationship: can't fetch certain relationships (From: Jonathan Rochkind <email@hidden>)
 >solved: advanced EOF: batch fetching relationship: can't fetch certain relationships (From: Jonathan Rochkind <email@hidden>)

  • Prev by Date: Re: ValidateValueForKey
  • Next by Date: Help with D2W application
  • Previous by thread: solved: advanced EOF: batch fetching relationship: can't fetch certain relationships
  • Next by thread: Re: solved: advanced EOF: batch fetching relationship: can't fetch certain relationships
  • Index(es):
    • Date
    • Thread