Re: JDBC driver bug PreparedStatement.setNull(int,Types.BOOLEAN) - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: JDBC driver bug PreparedStatement.setNull(int,Types.BOOLEAN)
Date
Msg-id Pine.BSO.4.64.0611100852490.16370@leary2.csoft.net
Whole thread Raw
In response to JDBC driver bug PreparedStatement.setNull(int,Types.BOOLEAN)  ("David Green" <dgreen@maketechnologies.com>)
List pgsql-bugs
On Wed, 8 Nov 2006, David Green wrote:

> the JDBC driver does not handle setNull for boolean types.
>
> the switch statement in setNull should be expanded with a case that
> checks for Types.BOOLEAN
>

The JDBC2 driver does not handle Types.BOOLEAN because that was added in
JDBC3.  See org.postgresql.jdbc3.AbstractJdbc3Statement#setNull to see how
this is handled.  I don't believe there's any problem with it.

Kris Jurka

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2749: Function's final statement must be a SELECT
Next
From: "Dennis"
Date:
Subject: BUG #2751: contrib\pgxml.sql