Re: Compare Integer with EOObjects using EOQualifier

2012-02-08 Thread John Huss
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 wrote: > Hi, > > I got a quick but silly question about EOQualifier, I want to compare a > object key with integer value zero but

Compare Integer with EOObjects using EOQualifier

2012-02-08 Thread Sisi Li
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 obje