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

Поиск
Список
Период
Сортировка
Искать
От
Joe Shevland
Тема
Re: "No Results were returned by the query" exception
Дата
Msg-id
HEECIHEEJDBMCCGMGIOBIEDMCIAA.jshevland@j-elite.com
Ответ на
Список
Дерево обсуждения
Re: "No Results were returned by the query" exception Barry Lind <barry@xythos.com>
Re: "No Results were returned by the query" exception Jon Swinth <jswinth@atomicpc.com>
Re: "No Results were returned by the query" exception Dave Cramer <Dave@micro-automation.net>
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')

В списке pgsql-jdbc по дате отправления
От: Jon Swinth
Дата:
От: Jon Swinth
Дата:
FAQ