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 94C775E46F0 for ; Mon, 30 Aug 2004 07:50:41 -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 41843-05 for ; Mon, 30 Aug 2004 10:50:32 +0000 (GMT) Received: from hotmail.com (bay15-dav15.bay15.hotmail.com [65.54.184.119]) by svr1.postgresql.org (Postfix) with ESMTP id B97C25E46D4 for ; Mon, 30 Aug 2004 07:50:35 -0300 (ADT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 30 Aug 2004 03:50:02 -0700 Received: from 202.71.147.145 by bay15-dav15.bay15.hotmail.com with DAV; Mon, 30 Aug 2004 10:50:01 +0000 X-Originating-IP: [202.71.147.145] X-Originating-Email: [antonypaul24@hotmail.com] X-Sender: antonypaul24@hotmail.com From: "Antony Paul" To: "pgsql-jdbc" Subject: AutoCommit and SQLException Date: Mon, 30 Aug 2004 16:26:23 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 30 Aug 2004 10:50:02.0468 (UTC) FILETIME=[1A31D240:01C48E7F] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200408/161 X-Sequence-Number: 10883 Hi all, What happens to transaction when an SQL exception is thrown while it is in a transaction. Does the connection automatically rollbacks the transactions or we have to roll back it ?. I am using PreparedStatements and Statements and no stored procedures. Is there any specification for the behaviour of connection pools ?. rgds Antony Paul