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 983CDD1B182 for ; Tue, 20 Jul 2004 18:39:03 -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 46425-01 for ; Tue, 20 Jul 2004 21:39:03 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 63512D1B199 for ; Tue, 20 Jul 2004 18:38:59 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1Bn2KC-00026g-00 for ; Wed, 21 Jul 2004 09:39:00 +1200 Message-ID: <40FD90F2.1010006@opencloud.com> Date: Wed, 21 Jul 2004 09:38:58 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "pgsql-jdbc@postgresql.org" Subject: JDBC3 + HOLD_CURSORS_OVER_COMMIT Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.7 tagged_above=0.0 required=5.0 tests=LINES_OF_YELLING, RCVD_IN_SORBS, SUBJ_ALL_CAPS, TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200407/240 X-Sequence-Number: 10624 It occurred to me that we can support JDBC3's HOLD_CURSORS_OVER_COMMIT behaviour quite simply by doing the same thing we do with scrollable resultsets -- disable use of cursors entirely. Does this sound worth doing? Obviously we could replace it with proper WITH HOLD cursor-backed resultsets eventually.. -O