From: Thomas Hill <Thomas.K.Hill@t-online.de>
To: pgsql-jdbc@postgresql.org
Subject: Functions returning SETs and CallableStatment Interface
Date: Sat, 22 Aug 2015 18:25:38 +0200
Message-ID: <55D8A282.4080709@t-online.de> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Hi,
I would like a Java program that can be run in conjunction with an
Apache Database Server and an Oracle server to also run using postgresql
as backend. The program is using stored procedures and the
callableStatement interface for "all" database communication.
If I understand the following statement from the documentation
correctly, this means my code will not work when dealing with stored
procedures returning restultsets.
"Functions that return data as a set should not be called via the
|CallableStatement| interface, but instead should use the normal
|Statement| or |PreparedStatement| interfaces."
So I was wondering if there are any plans for an implementation that
allows using the callableStatement interface also for functions
returning sets?
Thanks
Thomas
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: Thomas.K.Hill@t-online.de
Subject: Re: Functions returning SETs and CallableStatment Interface
In-Reply-To: <55D8A282.4080709@t-online.de>
References: <55D8A282.4080709@t-online.de>
* 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