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 protected]> 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 protected])
> Help/Unsubscribe/Update your Subscription:
>
> https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
>
> This email sent to [email protected]
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to