RE: [jrf-user] Informix Money Datatype
Brought to you by:
joncrlsn
|
From: Bradley M. H. <bh...@ar...> - 2002-10-28 20:09:54
|
Sorry, it's Monday. I didn't think to examine the stack trace. After = examining the stack trace, I found the problem. The default value I was = passing was "DEFAULT_TO_ZERO". I should have been passing "new = BigDecimal(BigInteger.ZERO)" as the default value. I'm all set now. = Again I apologize for my lack of investigation. Brad Handy -----Original Message----- From: Erik Tennant [mailto:ete...@ca...] Sent: Monday, October 28, 2002 2:47 PM To: Bradley M. Handy; jrf...@li... Subject: Re: [jrf-user] Informix Money Datatype Can you show a copy of the stack trace you get using the = BigDecimalColumnSpec? At 11:46 AM 10/28/2002, Bradley M. Handy wrote: >I'm having a problem with the Informix "Money" datatype. According to = the >JDBC driver documentation from Informix, the "money" datatype is = supposed >to be returned as a java.math.BigDecimal. However, when I use >com.is.jrf.BigDecimalColumnSpec as the column spec I get a >ClassCastException, because JRF is interpreting it as an Integer = instead. > >I've run some tests and have determined it is not Informix's driver, = which >was my first thought. I've created a work around class for this, but I >was wondering if anyone had any thoughts as to what the problem might = be >whether it's on my end our JRF's end. > >I'm using JRF 1.7. > >Bradley M. Handy >Programmer/Analyst >Spring Arbor University > >mailto:bh...@ar... > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >jrf-user mailing list >jrf...@li... >https://lists.sourceforge.net/lists/listinfo/jrf-user |