* Use setBoolean to set BIT and BOOLEAN type columns in prepared statements.

This should make it work with Postgresql.
This commit is contained in:
hns 2007-12-06 13:56:09 +00:00
parent 3f1069db50
commit ec1b8b71d9

View file

@ -2059,6 +2059,10 @@ public final class NodeManager {
switch (columnType) {
case Types.BIT:
case Types.BOOLEAN:
stmt.setBoolean(stmtNumber, p.getBooleanValue());
break;
case Types.TINYINT:
case Types.BIGINT:
case Types.SMALLINT: