Skip site navigation (1) Skip section navigation (2)

Re: Why?? executeQuery() & exception: "No results were returnedby the query."

From: "Jeff Duffy" <jeff(at)alanne(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Why?? executeQuery() & exception: "No results were returnedby the query."
Date: 2001-05-08 22:05:16
Message-ID: 200105090205.f4925TA44901@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-jdbc
On Tue, 8 May 2001 15:32:19 -0400 (EDT), Bruce Momjian alluded:

> 
>  Are you saying that this "no result" error is required by the JDBC
>  standard, or is it a PostgreSQL bug?

 The JDBC specification does not address this level of granularity, but I am
not aware of any other JDBC implementation that considers a ResultSet of 0
rows to be an exception condition. So I vote bug.

Jeff

In response to

pgsql-jdbc by date

Next:From: Tom LaneDate: 2001-05-08 22:08:07
Subject: Re: Outstanding patches
Previous:From: Bruce MomjianDate: 2001-05-08 21:55:54
Subject: Re: Outstanding patches

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group