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 3924B3A5AC8 for ; Fri, 3 Dec 2004 20:34:52 +0000 (GMT) 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 37514-03 for ; Fri, 3 Dec 2004 20:34:43 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 87DD43A5AAD for ; Fri, 3 Dec 2004 20:34:42 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CaK8U-0002LC-00; Sat, 04 Dec 2004 09:34:38 +1300 Message-ID: <41B0CF42.3080907@opencloud.com> Date: Fri, 03 Dec 2004 20:40:34 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Smith Cc: pgsql-jdbc@postgresql.org Subject: Re: Bug in setFetchSize References: <1102005138.4563.9.camel@playpen.candata.com> <41AF8727.90404@opencloud.com> <1102083199.6713.3.camel@playpen.candata.com> In-Reply-To: <1102083199.6713.3.camel@playpen.candata.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/14 X-Sequence-Number: 11680 Dave Smith wrote: > Does it matter if the setAutoCommit is true or false .. or is it just an > explicit commit(); call that would close the portal? If autocommit is true then the driver shouldn't be using cursors at all in theory (since they'd become invalid immediately). Note that setAutoCommit() will do an implicit commit(), so if you're running with autocommit off, doing some queries, calling setAutoCommit, then trying to use the resultsets, then you will see similar problems. Example code showing the problem? -O