pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: hiuguis@iteso.mx
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problem catching multiple values
Date: Wed, 25 May 2005 01:48:53 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0505250146170.1172@leary.csoft.net> (raw)
In-Reply-To: <1116969045.42939855b95f0@iteso.mx>
References: <1116969045.42939855b95f0@iteso.mx>



On Tue, 24 May 2005 hiuguis@iteso.mx wrote:

>     Im having an problem when I try to catch multiple values from an SETOF
> float8 pgsql function invoked from java. This is the message that I get:

CallableStatements cannot be used for SETOF functions, only refcursor 
returning functions.  It is best to call this with a normal 
PreparedStatement or Statement that returns a ResultSet in the standard 
fashion:  SELECT * FROM mysrf();

Kris Jurka



view thread (3+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0505250146170.1172@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0505250146170.1172@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0505250146170.1172@leary.csoft.net

 · 

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: books@ejurka.com, hiuguis@iteso.mx
  Subject: Re: Problem catching multiple values
  In-Reply-To: <Pine.BSO.4.56.0505250146170.1172@leary.csoft.net>
  References: <1116969045.42939855b95f0@iteso.mx> <Pine.BSO.4.56.0505250146170.1172@leary.csoft.net>

* 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