Re: BigDecimal Bugs

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: <mailing-list(at)urbanet(dot)ch>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: BigDecimal Bugs
Date: 2002-03-25 01:50:01
Message-ID: 034101c1d39f$609b8430$807ba8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Florian,

Can you resubmit these patches as context diff's ?

cvs -c diff ...

Thanks,

Dave
> -----Original Message-----
> From: pgsql-jdbc-owner(at)postgresql(dot)org
> [mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of
> mailing-list(at)urbanet(dot)ch
> Sent: Sunday, March 24, 2002 11:02 AM
> To: pgsql-jdbc(at)postgresql(dot)org
> Subject: [JDBC] BigDecimal Bugs
>
>
> 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
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-03-25 10:06:21 Re: "No results were returned by the query" exception
Previous Message Tim Lewis 2002-03-24 23:29:46 Re: "No results were returned by the query" exception