[pgjdbc/pgjdbc] 6287c9: fix: setNull for types not in java.sql.Types (e.g....

Dave Cramer <[email protected]>
Newsgroups gmane.comp.db.postgresql.jdbc
Message-ID <5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 6287c9547880b5cdfc596cf932354511a4e310cb
      https://github.com/pgjdbc/pgjdbc/commit/6287c9547880b5cdfc596cf932354511a4e310cb
  Author: Dave Cramer <[email protected]>
  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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.