Re: currval() problem

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: currval() problem
Дата
Msg-id 20001201105344.A7506@l-t.ee
обсуждение исходный текст
Ответ на currval() problem  ("tony" <tony@uickarate.com>)
Список pgsql-interfaces
On Tue, Nov 28, 2000 at 08:16:08PM -0500, tony wrote:
> Hello
> 
> I have a problem with currval() through JDBC.  
> My nextval() updates the counter of sequences, but
> currval() returns no value even after I call nextval().
> Both work fine when I try them through psql.  
> Have you encountered this problem before??

does this help?
con.setAutoCommit(false);

-- 
marko



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

Предыдущее
От: "Joel Burton"
Дата:
Сообщение: Re: Some advice re:bound/unbound forms for MS Access
Следующее
От: majo
Дата:
Сообщение: ...