Stored proc returns RECORD & JDBC - Mailing list pgsql-jdbc

From Igor Borisovsky
Subject Stored proc returns RECORD & JDBC
Date
Msg-id 200503232111.j2NLBDC30590@alexru.adsl.kis.ru
Whole thread Raw
Responses Re: Stored proc returns RECORD & JDBC  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc

Hi.

As you know we have to invoke the stored proc which returns RECORD in the following manner:

Select * from func() as (a datatype1, b datatype2…);

There is no problem to execute such statement as PreparedStatement.

But I need to use only CallableStatement.

Does anyone know how to do it?

Thanks.

 

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException
Next
From: Oliver Jowett
Date:
Subject: Re: Stored proc returns RECORD & JDBC