Re: JDBC driver bug PreparedStatement.setNull(int,Types.BOOLEAN)

From: Kris Jurka <books(at)ejurka(dot)com>
To: David Green <dgreen(at)maketechnologies(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: JDBC driver bug PreparedStatement.setNull(int,Types.BOOLEAN)
Date: 2006-11-10 13:54:02
Message-ID: Pine.BSO.4.64.0611100852490.16370@leary2.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-11-10 15:44:10 Re: BUG #2751: contrib\pgxml.sql
Previous Message Denis 2006-11-10 09:25:17 BUG #2752: Website bug