currval bug??

Поиск
Список
Период
Сортировка
От Gabriele Carteni
Тема currval bug??
Дата
Msg-id 41C86BE5.2030501@unile.it
обсуждение исходный текст
Ответы Re: currval bug??
Список pgsql-jdbc
Hi all,
i have recently upgraded my development environment:
FROM postgresql 7.4 TO postgresql 8.0beta5
FROM jdk1.4 TO jdk1.5
FROM pg74.215.jdbc3.jar TO pg80b1.308.jdbc3.jar

now, i have a FRUSTRATING bug:

With this query (which works fine with previous pg74jdbc):

*insert into tablename (fieldname) values ('testvalue');select
currval('tablename_id_seq');*

this exeception was throwed:

*org.postgresql.util.PSQLException: No results were returned by the query.*

Obviously the query has to return a result.

Any idea?
thanks!!
gaboc

--
_____________________________________________________________

"Microsoft isn't the answer. Microsoft is the question, and my answer is no!"


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Patch to reduce the number of messages to translate
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: currval bug??