Thread: [pgjdbc/pgjdbc] 6287c9: fix: setNull for types not in java.sql.Types(e.g....
Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 6287c9547880b5cdfc596cf932354511a4e310cb https://github.com/pgjdbc/pgjdbc/commit/6287c9547880b5cdfc596cf932354511a4e310cb Author: Dave Cramer <davecramer@gmail.com> Date: 2018-07-14 (Sat, 14 Jul 2018) Changed paths: M CHANGELOG.md M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/PreparedStatementTest.java M pgjdbc/src/test/java/org/postgresql/test/jdbc4/ArrayTest.java Log Message: ----------- fix: setNull for types not in java.sql.Types (e.g. uuid) (#1160) Fix PreparedStatement.setNull(pos, type, pgtype) This enables to pass nulls for uuids like "where ? is null"; setNull(1, Types.OTHER, "uuid"); fixes #1159 **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.