Skip to content

Commit 6926ee4

Browse files
committed
Bug 1011119: Let Postgres' bool --> java.sql.Types.BOOLEAN match
Java's java.sql.Types.BOOLEAN --> Postgres' bool.
1 parent d2cf374 commit 6926ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/pljava/org/postgresql/pljava/jdbc/SPIConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ else if(value instanceof String)
913913
Types.CHAR, Types.CHAR, Types.CHAR, Types.CHAR, Types.CHAR, Types.CHAR,
914914
Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, Types.VARCHAR,
915915
Types.BINARY,
916-
Types.BIT,
916+
Types.BOOLEAN,
917917
Types.BIT,
918918
Types.DATE,
919919
Types.TIME, Types.TIME,

0 commit comments

Comments
 (0)