From: | mailing-list(at)urbanet(dot)ch |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | BigDecimal Bugs |
Date: | 2002-03-24 16:02:23 |
Message-ID: | 20020324160205.D5AA1474E42@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hi,
I've found 2 bugs related with BigDecimal in the JDBC driver.
The first bug occurs when you call Array.toArray on a column containing an
array of NUMERIC. The returned java array is wrong with all BigDecimal
stored in the first element.
The second bug is in PreparedStatement.setBigDecimal. If you pass a null
object as argument, the method raises a NullPointerException.
Attached are the 2 diff files to correct those bugs.
Kudos to all postgresql developers for their great job!
Florian
Attachment | Content-Type | Size |
---|---|---|
PreparedStatement.diff | text/x-diff | 527 bytes |
Array.diff | text/x-diff | 663 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Lewis | 2002-03-24 23:29:46 | Re: "No results were returned by the query" exception |
Previous Message | David Hooker | 2002-03-24 07:32:43 | Two Phase commits |