"No results were returned by the query" exception

Поиск
Список
Период
Сортировка
От David Hancock
Тема "No results were returned by the query" exception
Дата
Msg-id 000e01c1d14d$9a2a3970$fd9736d2@axolotl
обсуждение исходный текст
Ответы Re: "No results were returned by the query" exception  ("Dave Cramer" <Dave@micro-automation.net>)
Список pgsql-jdbc
Hi,

Someone recently pointed out that a SQLException is thrown when a query
returns no results. I have noticed this too. It used to be the case
(driver version 6.x) that an empty ResultSet was returned, and no
exception thrown.

This new behaviour means that the Postgres driver behaves significantly
differently to other JDBC drivers, and that code written for a generic
JDBC connection doesn't work as expected with Postgres.

Is this new behaviour a bug or a feature ?

regards,

Dave Hancock.







В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Christian Cabanero"
Дата:
Сообщение: SQLException error code update?
Следующее
От: "Dave Cramer"
Дата:
Сообщение: Re: "No results were returned by the query" exception