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 83377D1B241 for ; Sat, 17 Jul 2004 21:16:12 -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 24396-09 for ; Sun, 18 Jul 2004 00:16:13 +0000 (GMT) Received: from mail.svhost.com.ar (mail.svhost.com.ar [200.80.239.22]) by svr1.postgresql.org (Postfix) with ESMTP id AD378D1B23E for ; Sat, 17 Jul 2004 21:16:09 -0300 (ADT) Received: from sistemat.com.ar (devel.sistemat.com.ar [192.168.1.40]) by mail.svhost.com.ar (Postfix) with ESMTP id 5BE112137B for ; Sat, 17 Jul 2004 21:14:31 -0300 (ART) Message-ID: <40F9C374.1040106@sistemat.com.ar> Date: Sat, 17 Jul 2004 21:25:24 -0300 From: "Dario V. Fassi" Organization: SISTEMATICA ingenieria de software srl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: es, es-ar, en-us, en MIME-Version: 1.0 To: "pgsql-jdbc@postgresql.org" Subject: DatabaseMetada.supportOpenCursorsAcrossCommit() return wrong information. 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.0 tagged_above=0.0 required=5.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200407/223 X-Sequence-Number: 10607 I believe that this methods return wrong information.: DatabaseMetada.supportOpenCursorsAcrossCommit() return false / would return TRUE DatabaseMetada.supportOpenCursorsAcrossRollBack() return false / would return TRUE Code like this was user to say that. rs = executeQuery( ... ); while ( rs.next() ) { con.rollback(); con.commit(); System.err.println( n++ ) ; } Count all the rows in the result set. Dario.