Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0092064FCEF for ; Wed, 16 Jul 2008 04:42:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 99165-09 for ; Wed, 16 Jul 2008 04:41:42 -0300 (ADT) X-Greylist: delayed 00:05:58.270725 by SQLgrey-1.7.6 Received: from mailgw-out.nic.in (mailgw-out.nic.in [164.100.10.14]) by postgresql.org (Postfix) with ESMTP id 3819664FCFB for ; Wed, 16 Jul 2008 04:41:08 -0300 (ADT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoAAAVCfUjAqAFF/2dsb2JhbAAIsEY X-IronPort-AV: E=McAfee;i="5200,2160,5339"; a="15873287" X-IronPort-AV: E=Sophos;i="4.30,372,1212345000"; d="scan'208";a="15873287" Received: from unknown (HELO mail.nic.in) ([192.168.1.69]) by int.nic.in with ESMTP; 16 Jul 2008 13:03:30 +0530 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from msgfe1.nic.in ([127.0.0.1]) by msgfe1.nic.in (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0K4300BTS8G75JK0@msgfe1.nic.in> for pgsql-jdbc@postgresql.org; Wed, 16 Jul 2008 12:51:43 +0530 (IST) Received: from nic.in ([10.1.150.18]) by msgfe1.nic.in (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTPA id <0K4300EB78G7TM80@msgfe1.nic.in> for pgsql-jdbc@postgresql.org; Wed, 16 Jul 2008 12:51:43 +0530 (IST) Received: from [10.1.150.18] (Forwarded-For: 164.100.28.150) by msgfe2.nic.in (mshttpd); Wed, 16 Jul 2008 12:21:43 +0500 From: nalini To: pgsql-jdbc@postgresql.org Message-id: <5b2b89135586bc69.487de7d7@nic.in> Date: Wed, 16 Jul 2008 12:21:43 +0500 X-Mailer: Sun Java(tm) System Messenger Express 6.3-4.01 (built Aug 3 2007; 32bit) Content-language: en Subject: Transaction handling through java X-Accept-Language: en X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.254 tagged_above=0 required=5 tests=AWL=0.254 X-Spam-Level: X-Archive-Number: 200807/36 X-Sequence-Number: 18821 I am facing the following problem. Our application sends a block of queries to postgres in a begin end block. If one of the queries take a long time to finish the whole transaction is assumed to be committed by the application even though the query is still running . This results in failure of all subsequent transactions. Although the application is programmed to catch all exceptions , it somehow is not able to figure out that the transaction is still not complete. I am using postgres 8.3 with regards Nalini