Re: JDBC function call (getting resultset)

From: Kris Jurka <books(at)ejurka(dot)com>
To: <marcelospbr(at)globo(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC function call (getting resultset)
Date: 2003-12-12 02:06:42
Message-ID: Pine.LNX.4.33.0312112104040.25411-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wed, 10 Dec 2003 marcelospbr(at)globo(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Savio Domnic 2003-12-12 09:30:31 unsubscribe
Previous Message Kris Jurka 2003-12-12 01:45:18 Re: Patch for some bugs/annoyances