X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id BB39411F6207 for ; Fri, 31 Mar 2006 06:25:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61956-10 for ; Fri, 31 Mar 2006 06:25:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (unknown [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 7D36811F6222 for ; Fri, 31 Mar 2006 06:24:59 -0400 (AST) Received: from kingfisher.intern.logix-tt.com (T99d8.t.pppool.de [89.55.153.216]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 0E35A65227; Fri, 31 Mar 2006 12:25:41 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 7518318550976; Fri, 31 Mar 2006 12:25:11 +0200 (CEST) Message-ID: <442D0387.3070706@logix-tt.com> Date: Fri, 31 Mar 2006 12:25:11 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jo=E3o_Paulo_Ribeiro?= Cc: pgsql-jdbc@postgresql.org Subject: Re: Behaviour of setAutoCommit may not be completely correct. References: <442CFE4E.9000309@mobicomp.com> In-Reply-To: <442CFE4E.9000309@mobicomp.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.114 required=5 tests=[AWL=0.114] X-Spam-Score: 0.114 X-Spam-Level: X-Archive-Number: 200603/149 X-Sequence-Number: 14930 Hi, Jo=E3o Paolo, Jo=E3o Paulo Ribeiro wrote: > From the specs: "If the value of auto-commit is changed in the middle > of a transaction, the current transaction is committed." >=20 > The postgresql have a problem with setAutocommit(...): if the value > passed (false or true) is the same that was previously set, it just > does nothing. I don't see this as bug, acutally setting the value to the same it had previously is not "changing", strictly seen. Markus --=20 Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.= org