Re: currval() problem - Mailing list pgsql-interfaces

From Marko Kreen
Subject Re: currval() problem
Date
Msg-id 20001201105344.A7506@l-t.ee
Whole thread Raw
In response to currval() problem  ("tony" <tony@uickarate.com>)
List 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 by date:

Previous
From: "Joel Burton"
Date:
Subject: Re: Some advice re:bound/unbound forms for MS Access
Next
From: majo
Date:
Subject: ...