db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate McKie" <nate.mc...@asolutions.com>
Subject RE: Inconsistencies in PreparedStatement.setFloat/setDouble
Date Tue, 14 Sep 2004 19:47:11 GMT

Daniel John Debrunner wrote:

> Since the code cannot be run...

Now the code CAN be run.  I have posted a new "standalone" Junit test suite
that creates a database and then illustrates the error we're seeing.  You
can find the code here:


All you need to run it is cs.jar and junit.jar in your classpath.  It
creates a database at "C:\cloudscape\test\", so if you're using a
non-Windows OS you'll need to make a change in the "getJDBCURL()" method in
the test class.

It has been suggested to us to use BigDecimal instead of double and float,
so we're going to try that out, but we'd still like to see if there's
someone who is already working on this.  Our next move is to get the code
and try to fix it ourselves.


Nate McKie
Asynchrony Solutions, Inc.

View raw message