• 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: EOQualifier proper fetch across to-many?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOQualifier proper fetch across to-many?


  • Subject: Re: EOQualifier proper fetch across to-many?
  • From: David Avendasora <email@hidden>
  • Date: Tue, 06 Mar 2012 08:46:08 +0800

On Mar 6, 2012, at 4:43 AM, Jesse Tayler wrote:

> I didn't see a "distinct" wonder fetch property either, don't I have to use something to ensure the list is returned without duplicates?

I think you are looking for:

EOFetchSpecification.html#setUsesDistinct(boolean)

http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/eocontrol/EOFetchSpecification.html#setUsesDistinct(boolean)

But I'm not sure that all DB plugins create proper SQL for distinct queries. I remember having some issue with it in the past, especially with regards to using it on FetchSpecs that have EOSortOrderings with Oracle (http://issues.objectstyle.org/jira/browse/WONDER-507).

So just be careful.

Dave
 _______________________________________________
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


  • Follow-Ups:
    • Re: EOQualifier proper fetch across to-many?
      • From: Ramsey Gurley <email@hidden>
    • Re: EOQualifier proper fetch across to-many?
      • From: David Avendasora <email@hidden>
References: 
 >EOQualifier proper fetch across to-many? (From: Jesse Tayler <email@hidden>)

  • Prev by Date: WOJenkins Updates
  • Next by Date: Re: EOQualifier proper fetch across to-many?
  • Previous by thread: EOQualifier proper fetch across to-many?
  • Next by thread: Re: EOQualifier proper fetch across to-many?
  • Index(es):
    • Date
    • Thread