pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Corradini, Carlos <CCorradini@correoargentino.com.ar>
To: pgsql-jdbc@postgresql.org
To: pgsql-general@postgresql.org
Cc: books@ejurka.com
Subject: Re: [JDBC] plpgsql function with RETURNS SETOF refcursor in JAVA
Date: Thu, 10 Dec 2015 13:25:28 -0800
Message-ID: <5669EDC8.9070805@aklaver.com> (raw)
In-Reply-To: <2A8F1D1266E80A4C8E5DF89F3042279711936AFC@B1842ZACS0046.correo.local>
References: <2A8F1D1266E80A4C8E5DF89F3042279711936AFC@B1842ZACS0046.correo.local>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

On 12/10/2015 05:38 AM, Corradini, Carlos wrote:
> Dear Gurus :
>
>                  First let me say hello from Buenos Aires, Argentina. I
> took this emails addresses from internet ( page www.postgresql.org
> <http://www.postgresql.org; )
>
>                  Now I will try to explain which is my problem ( excuse
> my poor level of English, please ). I have a Java application that must
> read a data provided by two ( 2 ) cursors returned by a function stored
> in a database. I know to retrieve data if the function have one ( 1 )
> cursor, but with two I can’t. I will very pleased if any of you, in your
> free time of course, can explain me how, inside the java program, after
> connecting via jdbc to the database, I extract the data returned by the
> second cursor.

Can you provide the function code that is returning the cursors?

>
>                  Many thanks ( muchas gracias ) and I wait for yours
> replies as soon as you can.
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (21+ messages)  latest in thread

Message-ID: <5669EDC8.9070805@aklaver.com>
Permalink:  ../5669EDC8.9070805@aklaver.com/
Also on:    postgresql.org/message-id/5669EDC8.9070805@aklaver.com

 · 

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: adrian.klaver@aklaver.com, CCorradini@correoargentino.com.ar, pgsql-general@postgresql.org, books@ejurka.com
  Subject: Re: [JDBC] plpgsql function with RETURNS SETOF refcursor in JAVA
  In-Reply-To: <5669EDC8.9070805@aklaver.com>
  References: <2A8F1D1266E80A4C8E5DF89F3042279711936AFC@B1842ZACS0046.correo.local> <5669EDC8.9070805@aklaver.com>

* 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