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

From Dave Cramer
Subject [pgjdbc/pgjdbc] 6287c9: fix: setNull for types not in java.sql.Types(e.g....
Date
Msg-id 5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail
Whole thread Raw
List pgsql-jdbc
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.

pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: 42.2.3 regression in fn timestampadd(SQL_TSI_MINUTE)
Next
From: Vladimir Sitnikov
Date:
Subject: [pgjdbc/pgjdbc] 4668f4: fix: treatment of SQL_TSI_YEAR, SQL_TSI_WEEK,SQL_...