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

Поиск
Список
Период
Сортировка
Искать

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

От:
"David Green" <dgreen@maketechnologies.com>
Дата:
the JDBC driver does not handle setNull for boolean types.
=20
the switch statement in setNull should be expanded with a case that
checks for Types.BOOLEAN
=20

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

От:
Kris Jurka <books@ejurka.com>
Дата:
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
FAQ