Thanks to visit codestin.com
Credit goes to postgrespro.com

BigDecimal Bugs - Mailing list 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

pgsql-jdbc by date:

Previous
From: "David Hooker"
Date:
Subject: Two Phase commits
Next
From: Tim Lewis
Date:
Subject: Re: "No results were returned by the query" exception