From: Philippe Marschall <philippe.marschall@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] 4ab5cc: feat: support fetching a REF_CURSOR using getObjec...
Date: Sun, 09 Apr 2017 13:03:05 -0700
Message-ID: <58ea93793cd70_73f73faf7981dc34122979@hookshot-fe1-cp1-prd.iad.github.net.mail> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 4ab5ccb7a299cfcec8a5b1cddf612d3f828fa157
https://github.com/pgjdbc/pgjdbc/commit/4ab5ccb7a299cfcec8a5b1cddf612d3f828fa157
Author: Philippe Marschall <philippe.marschall@gmail.com>
Date: 2017-04-09 (Sun, 09 Apr 2017)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgCallableStatement.java
A pgjdbc/src/test/java/org/postgresql/test/jdbc42/Jdbc42CallableStatementTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc42/Jdbc42TestSuite.java
Log Message:
-----------
feat: support fetching a REF_CURSOR using getObject
Since DatabaseMetaData#supportsRefCursors now reports true
frameworks like Hibernate now use
callableStatement.getObject(int, ResultSet.class) to fetch the
REF_CURSOR.
Only support ResultSet.class as an argument to keep the patch simple.
Closes: #794
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: philippe.marschall@gmail.com
Subject: Re: [pgjdbc/pgjdbc] 4ab5cc: feat: support fetching a REF_CURSOR using getObjec...
In-Reply-To: <58ea93793cd70_73f73faf7981dc34122979@hookshot-fe1-cp1-prd.iad.github.net.mail>
References: <58ea93793cd70_73f73faf7981dc34122979@hookshot-fe1-cp1-prd.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