Re: cursor "jdbc_curs_1" does not exist - Mailing list pgsql-jdbc

From tmp@nitwit.de
Subject Re: cursor "jdbc_curs_1" does not exist
Date
Msg-id 200406171543.04669.tmp@nitwit.de
Whole thread Raw
In response to Re: cursor "jdbc_curs_1" does not exist  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: cursor "jdbc_curs_1" does not exist  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
On Thursday 17 June 2004 15:17, you wrote:
> You probably meant:
>
> final Statement select = db.createStatement(ResultSet.TYPE_FORWARD_ONLY,
> ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);

Oops, of course :-)

> The current driver will throw an exception if you try this, as
> HOLD_CURSORS_OVER_COMMIT is not supported (actually, it throws in *all*

:-(

Is there a schedule when it will be supported?

But the following also doesn't work:

final Statement select = db.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY);

So I really wonder how I should solve my problem other than calling commit()
once at the very end...

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: cursor "jdbc_curs_1" does not exist
Next
From: Oliver Jowett
Date:
Subject: Re: cursor "jdbc_curs_1" does not exist