Re: JDBC function call (getting resultset) - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: JDBC function call (getting resultset)
Date
Msg-id Pine.LNX.4.33.0312112104040.25411-100000@leary.csoft.net
Whole thread Raw
In response to JDBC function call (getting resultset)  (marcelospbr@globo.com)
List pgsql-jdbc

On Wed, 10 Dec 2003 marcelospbr@globo.com wrote:

> I have a function that return a refcursor (step 1).
> When I execute from the DBManager, I get three lines as resulted (step 2).
> When I run the java code, I don't have success (step 3). Throws the error:
> No results were returned by the query.
> Somebody knows what's happening?

Perhaps take a look at this:

http://developer.postgresql.org/docs/postgres/jdbc-callproc.html

I believe you will also need to use the 7.4 jdbc driver even though you
are running against a 7.3 database.


Kris Jurka



pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Patch for some bugs/annoyances
Next
From: Savio Domnic
Date:
Subject: unsubscribe