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 7BE6F329D76 for ; Fri, 24 Sep 2004 06:16:16 +0100 (BST) 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 09780-07 for ; Fri, 24 Sep 2004 05:16:09 +0000 (GMT) Received: from mailindia.aspiresys.com (aspireindia.aspiresys.com [203.199.252.225]) by svr1.postgresql.org (Postfix) with ESMTP id 71CD7329D2A for ; Fri, 24 Sep 2004 06:16:05 +0100 (BST) Received: from Aspire161 ([192.168.0.161]) by aspiresys.com (mailindia.aspiresys.com [203.199.252.233]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 10-md50000000036.tmp for ; Fri, 24 Sep 2004 10:46:30 +0530 Message-ID: <000801c4a1f5$a4ce4ee0$a100a8c0@Aspiresys.com> From: "Vasanth Veeraraghavan" To: Subject: Question-set Query time out in Locking Date: Fri, 24 Sep 2004 10:46:27 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C4A223.BE712E20" 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 X-Spam-Processed: mailindia.aspiresys.com, Fri, 24 Sep 2004 10:46:30 +0530 (not processed: spam filter disabled) X-MDRemoteIP: 192.168.0.161 X-Return-Path: vasanth.veeraraghavan@aspiresys.com X-MDaemon-Deliver-To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.7 tagged_above=0.0 required=5.0 tests=HTML_40_50, HTML_FONTCOLOR_BLUE, HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200409/183 X-Sequence-Number: 11073 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C4A223.BE712E20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I wrote a code,for setting querytime out for a querry,which is accessing a = locked table.but when the time elapsed,the code is not throwing error.Kindl= y help me.. OS: windows xp, DB :postgres My code is: st.setQueryTimeout(2);=20 rs=3Dst.executeQuery("select * from table1 where column1=3D2"); Note:table1 is locked.this locking is done by another java code. Thank you, Vasanth. ------=_NextPart_000_0005_01C4A223.BE712E20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I wrote a code,for setting querytime out f= or a=20 querry,which is accessing a locked table.but when the time elapsed,the code= is=20 not throwing error.Kindly help me..
 
OS: windows xp,
DB :postgres
My code is:

st.setQueryTimeout(2);

rs=3Dst.executeQuery("select * fro= m table1=20 where column1=3D2");

Note:table1 is locked.this locking is done by another jav= a=20 code.

Thank you,

Vasanth.

 

 
------=_NextPart_000_0005_01C4A223.BE712E20--