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

Поиск
Список
Период
Сортировка
От tony
Тема Re: "No results were returned by the query" exception
Дата
Msg-id 1016780691.8711.3.camel@vaio
обсуждение исходный текст
Ответ на Re: "No results were returned by the query" exception  ("Dave Cramer" <Dave@micro-automation.net>)
Ответы Re: "No results were returned by the query" exception  ("Dave Cramer" <Dave@micro-automation.net>)
Список pgsql-jdbc
On Fri, 2002-03-22 at 04:19, Dave Cramer wrote:
> Actually, this only occurs when there is an error in the query. If there
> are no results from the query
>
> Ie select * from foo; returns nothing then you will get an empty result
> set
>
> If on the other hand there is an error in the query like a transaction
> is in error, then the exception will be thrown

For JSP you must have a "show if result set is not empty" clause or you
will get a nullpointer exception error.

Cheers

Tony Grant

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html


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

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