Re: EOQualifier proper fetch across to-many?
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 15:52:41 +0800
Whoops!
I missed the REST portion of the Fetch Spec class.
Dave
On Mar 6, 2012, at 8:46 AM, David Avendasora wrote:
>
> 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
>
>
_______________________________________________
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