Re: currval() problem

From: Marko Kreen <marko(at)l-t(dot)ee>
To: tony <tony(at)uickarate(dot)com>
Cc: pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: currval() problem
Date: 2000-12-01 08:53:44
Message-ID: 20001201105344.A7506@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message majo 2000-12-01 13:36:50
Previous Message Joel Burton 2000-11-30 22:21:49 Re: Some advice re:bound/unbound forms for MS Access