From: hiuguis@iteso.mx
To: Kris Jurka <books@ejurka.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Problem catching multiple values
Date: Wed, 25 May 2005 10:00:03 -0500
Message-ID: <1117033203.429492f3bed49@iteso.mx> (raw)
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>
Thank you Kris. I had made the changes and now its working fine. Thanks again.
Mensaje citado por Kris Jurka <books@ejurka.com>:
>
>
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
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: hiuguis@iteso.mx, books@ejurka.com
Subject: Re: Problem catching multiple values
In-Reply-To: <1117033203.429492f3bed49@iteso.mx>
References: <1116969045.42939855b95f0@iteso.mx> <Pine.BSO.4.56.0505250146170.1172@leary.csoft.net> <1117033203.429492f3bed49@iteso.mx>
* 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