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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2001-05-08 22:08:07 Re: Outstanding patches
Previous Message Bruce Momjian 2001-05-08 21:55:54 Re: Outstanding patches