"No Results were returned by the query" exception

From: Jon Swinth <jswinth(at)atomicpc(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: "No Results were returned by the query" exception
Date: 2002-06-06 18:48:46
Message-ID: 200206061848.g56Imlp19990@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I have an issue with "No Results were returned by the query" exception when selecting from a sequence using jdbc:

SELECT nextval('sequence_name')

I had this happen quite a bit before during transfers and then upgraded to the devpgjdbc2.jar. This seemed to fix things until this week.
The problem has returned again. I see that somebody had the same issue back in March. Dave Cramer asked the individual
to enable DEBUG and send him the output. I do not see any discussion since then.

I would also like to generate the output, but none of the versions of org.postgresql.Driver that I have include the setLogLevel()
method specified in the Dave's email.

Is there another JAR file I can use? Is there a workaround for this?

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joe Shevland 2002-06-06 23:02:56 Re: "No Results were returned by the query" exception
Previous Message Dave Cramer 2002-06-06 14:12:57 Re: Problem with java.sql.DatabaseMetaData