Re: Compare Integer with EOObjects using EOQualifier
Re: Compare Integer with EOObjects using EOQualifier
- Subject: Re: Compare Integer with EOObjects using EOQualifier
- From: John Huss <email@hidden>
- Date: Wed, 08 Feb 2012 11:44:14 -0600
BigDecimals are not integers so they aren't equals to integers. Compare BigDecimals to BigDecimals and Integers to Integers.
On Wed, Feb 8, 2012 at 11:14 AM, Sisi Li
<email@hidden> wrote:
Hi,
I got a quick but silly question about EOQualifier, I want to compare a object key with integer value zero but seems I can not get it through,
the query I wrote is below:
ERXKeyValueQualifier qual = ERXQ.greaterThan(Content.VALUES(), BigDecimal.ZERO);
where Content.Values() is a key of object Content.
Any hint how I can make it correct?
Thanks,
Regards,
Sisi
_______________________________________________
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