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 5DD71558B1 for ; Wed, 9 Mar 2005 15:54:42 +0000 (GMT) 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 58639-04 for ; Wed, 9 Mar 2005 15:54:36 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by svr1.postgresql.org (Postfix) with ESMTP id 16F4656469 for ; Wed, 9 Mar 2005 15:54:35 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 68so406285wra for ; Wed, 09 Mar 2005 07:54:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=QcJXUXPnhfOp4OlcyzONwyPpI5cKUNqIDPpy3XVlD5JPRKeO92fOZ0euJAWpFmEuY1RRWmrzX2Mlk8gQ6zgiQZfWTPvaPewuGj/vH/DecU9oquZJMdPnfPkkksSZVP9VmxzPjah9BKmBpiPeUPv2PrKk1AnJq1p+NrmHMKGTbQk= Received: by 10.54.4.24 with SMTP id 24mr747320wrd; Wed, 09 Mar 2005 07:54:40 -0800 (PST) Received: by 10.54.39.57 with HTTP; Wed, 9 Mar 2005 07:54:40 -0800 (PST) Message-ID: <915cd38805030907545882333f@mail.gmail.com> Date: Wed, 9 Mar 2005 16:54:40 +0100 From: Mican Bican Reply-To: Mican Bican To: pgsql-jdbc@postgresql.org Subject: java is locked when select for update In-Reply-To: <915cd3880503081437272e5cfb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <915cd3880503081437272e5cfb@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.789 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, FROM_ENDS_IN_NUMS, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200503/86 X-Sequence-Number: 12478 Hello, I use Postgresql 8.0.1 with java 5 and jdbc3 on windows xp. When I do a "select for update" a row.. and dont commit the statement and when in this time an other user do also this. my java gui wait and locked till the first user commit his statement.. my question is how can I realize this with java.. for example why they are not a SQLException or are Error like "an other user is updating this row"... or can I say to java "dont wait" or "dont lock" when you make a select for update and an other user before you make this.. thank you.. best regards Mican Bican