Re: "No Results were returned by the query" exception

From: "Joe Shevland" <jshevland(at)j-elite(dot)com>
To: "Jon Swinth" <jswinth(at)atomicpc(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: "No Results were returned by the query" exception
Date: 2002-06-06 23:02:56
Message-ID: HEECIHEEJDBMCCGMGIOBIEDMCIAA.jshevland@j-elite.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Sorry I'm not across the actual issue, but have you got a small snippet of Java code to demonstrate the problem (enough to see if its inside a transaction etc and how you're executing the statement and looping through the RS)? Also the version number of the PostgreSQL backend.

I do the below sort of thing regularly and haven't had a problem. The drivers on http://jdbc.postgresql.org/download are the best ones to go for if you're not already using those.

Cheers,
Joe

> I have an issue with "No Results were returned by the query"
> exception when selecting from a sequence using jdbc:
>
> SELECT nextval('sequence_name')

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jon Swinth 2002-06-07 00:01:46 Re: "No Results were returned by the query" exception
Previous Message Jon Swinth 2002-06-06 18:48:46 "No Results were returned by the query" exception