Re: Problem catching multiple values

From: hiuguis(at)iteso(dot)mx
To: Kris Jurka <books(at)ejurka(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem catching multiple values
Date: 2005-05-25 15:00:03
Message-ID: 1117033203.429492f3bed49@iteso.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Thank you Kris. I had made the changes and now its working fine. Thanks again.

Mensaje citado por Kris Jurka <books(at)ejurka(dot)com>:
>
>
> On Tue, 24 May 2005 hiuguis(at)iteso(dot)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
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Giuseppe Sacco 2005-05-25 15:13:43 DatabaseMetaData.getExtraNameCharacters
Previous Message Sergey A. Sokolov 2005-05-25 14:41:54 Re: BIGINT <-> java.lang.String auto cast