pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <davecramer@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] 6287c9: fix: setNull for types not in java.sql.Types (e.g....
Date: Sat, 14 Jul 2018 04:01:08 -0700
Message-ID: <5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail> (raw)

  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.

Message-ID: <5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail>
Permalink:  ../5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail/
Also on:    postgresql.org/message-id/5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: davecramer@gmail.com
  Subject: Re: [pgjdbc/pgjdbc] 6287c9: fix: setNull for types not in java.sql.Types (e.g....
  In-Reply-To: <5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail>
  References: <5b49d7f4d33a8_6b6a2af6cc2fdc105046c@hookshot-fe-31feec6.cp1-iad.github.net.mail>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox