X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D62B9D1B1D1 for ; Thu, 17 Jun 2004 10:43:08 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 95449-09 for ; Thu, 17 Jun 2004 13:43:11 +0000 (GMT) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [62.67.200.165]) by svr1.postgresql.org (Postfix) with ESMTP id 0279ED1B187 for ; Thu, 17 Jun 2004 10:43:03 -0300 (ADT) Received: (qmail 27592 invoked from network); 17 Jun 2004 13:43:07 -0000 Received: from unknown (HELO tcn.local) (652696@[217.231.233.9]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 17 Jun 2004 13:43:07 -0000 Received: from localhost (localhost [127.0.0.1]) by tcn.local (Postfix) with ESMTP id 2FEA3318C for ; Thu, 17 Jun 2004 15:43:05 +0200 (CEST) From: tmp@nitwit.de To: pgsql-jdbc@postgresql.org Subject: Re: cursor "jdbc_curs_1" does not exist Date: Thu, 17 Jun 2004 15:43:04 +0200 User-Agent: KMail/1.6.2 References: <200406151736.27450.tmp@nitwit.de> <200406171449.12604.tmp@nitwit.de> <40D199CF.1050101@opencloud.com> In-Reply-To: <40D199CF.1050101@opencloud.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406171543.04669.tmp@nitwit.de> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.5 tagged_above=0.0 required=5.0 tests=NO_REAL_NAME, RCVD_IN_NJABL, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200406/69 X-Sequence-Number: 10271 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...