• 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: Compare Integer with EOObjects using EOQualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Compare Integer with EOObjects using EOQualifier (From: Sisi Li <email@hidden>)

  • Prev by Date: Compare Integer with EOObjects using EOQualifier
  • Next by Date: Eclipse/WOLips Help for Old Noobie
  • Previous by thread: Compare Integer with EOObjects using EOQualifier
  • Next by thread: Eclipse/WOLips Help for Old Noobie
  • Index(es):
    • Date
    • Thread