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 5C70E9DC843 for ; Sat, 4 Feb 2006 15:39:50 -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 29812-01 for ; Sat, 4 Feb 2006 15:39:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.KPNQwest.pt (smtp2.KPNQwest.pt [193.126.4.60]) by postgresql.org (Postfix) with ESMTP id 659D59DC82F for ; Sat, 4 Feb 2006 15:39:46 -0400 (AST) Received: from [192.168.1.11] ([193.126.36.236]) by smtp.KPNQwest.pt (8.12.10/8.12.10) with ESMTP id k14JdgIq000234; Sat, 4 Feb 2006 19:39:47 GMT Message-ID: <43E50300.2080505@m16e.com> Date: Sat, 04 Feb 2006 19:39:44 +0000 From: Carlos Correia User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: pt-br, pt MIME-Version: 1.0 To: Tom Lane CC: pgsql-jdbc@postgresql.org Subject: Re: SET AUTOCOMMIT TO OFF no longer supported References: <43E4F5A6.2090801@m16e.com> <20615.1139079939@sss.pgh.pa.us> <43E4FD44.7060906@m16e.com> <20785.1139081363@sss.pgh.pa.us> In-Reply-To: <20785.1139081363@sss.pgh.pa.us> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=30354895 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.226 required=5 tests=[AWL=0.226] X-Spam-Score: 0.226 X-Spam-Level: X-Archive-Number: 200602/27 X-Sequence-Number: 14624 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Lane escreveu: | Carlos Correia writes: | |>Tom Lane escreveu: |>| I think you need a newer JDBC driver. (If the app itself, rather than |>| the driver, is trying to issue this command then the app is so broken |>| it doesn't deserve to live.) | | |>newer then this: |>http://jdbc.postgresql.org/download/postgresql-8.1-404.jdbc3.jar? | | | No, that driver is plenty new enough to know not to do this. It's the | app that's broken, then --- it has no business messing with SET | AUTOCOMMIT rather than using the JDBC-spec methods to control | transaction boundaries. | | I'm using Connection's setAutocommit() method and not execQuery( "set autocommit off" )... note that this only happens in Windows2000, not in Linux. regards, Carlos - -- MEMÓRIA PERSISTENTE, Lda. Tel.: 219 291 591 - GSM: 967 511 762 e-mail: geral@m16e.com - URL: http://www.m16e.com AIM: m16e - ICQ: 257488263 - Jabber: m16e@amessage.de Skype.com username (VoIP): m16e.com GnuPG: wwwkeys.eu.pgp.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD5QMA90uzwjA1SJURApVWAJ9g79029OfZju1u56uxCLvPAQC5LgCfZWch +caTxqN/Z5L/8bUGONlLR0w= =Lokx -----END PGP SIGNATURE-----