• 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
BigDecimal for SELECT SUM(...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BigDecimal for SELECT SUM(...)


  • Subject: BigDecimal for SELECT SUM(...)
  • From: Henrique Prange <email@hidden>
  • Date: Thu, 25 Sep 2008 14:51:56 -0300

Hi all,

I'm trying to get the sum of a decimal column executing a query like that:

SELECT SUM( field ) FROM table...

The query execution returns a value of type Long, but I need a value of type BigDecimal. Is there a way to specify the expected returning value type?

I'm using ERXEOAccessUtilities.rawRowsForSQLExpression to execute the query.

Cheers,

Henrique
_______________________________________________
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


  • Follow-Ups:
    • Re: BigDecimal for SELECT SUM(...)
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Cloning objects in WO?
  • Next by Date: Re: weird combination! (followup: Form field ignored?!? Weird...)
  • Previous by thread: Re: Cloning objects in WO?
  • Next by thread: Re: BigDecimal for SELECT SUM(...)
  • Index(es):
    • Date
    • Thread