From: | Dave Cramer <davecramer(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | [pgjdbc/pgjdbc] 6287c9: fix: setNull for types not in java.sql.Types (e.g.... |
Date: | 2018-07-14 11:01:08 |
Message-ID: | 5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Vladimir Sitnikov | 2018-07-14 12:10:44 | [pgjdbc/pgjdbc] 4668f4: fix: treatment of SQL_TSI_YEAR, SQL_TSI_WEEK, SQL_... |
Previous Message | Vladimir Sitnikov | 2018-07-14 10:06:18 | Re: 42.2.3 regression in fn timestampadd(SQL_TSI_MINUTE) |