* Use setBoolean to set BIT and BOOLEAN type columns in prepared statements.
This should make it work with Postgresql.
This commit is contained in:
parent
3f1069db50
commit
ec1b8b71d9
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue