Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id CBE882E0052 for ; Mon, 18 Feb 2008 21:23:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 29931-03 for ; Mon, 18 Feb 2008 21:23:52 -0400 (AST) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by postgresql.org (Postfix) with ESMTP id E8F082E0050 for ; Mon, 18 Feb 2008 21:23:49 -0400 (AST) Received: by py-out-1112.google.com with SMTP id d37so3417649pye.29 for ; Mon, 18 Feb 2008 17:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=ImVUMyYHPL7feWOFUudiu2hEuwftfAu639E1hZsZnl8=; b=V9jWCSiJiIWZqIxGePfaS0TZ6PerkljlZbTTHFkykoWNMyWJoqV/o4iyC+0Kb/pnA1ngq2p3BbRpKkxRHyIfe5F4ZTa7xMewT7qPDgW9IWKVYeHYIwXaVRkXiMCVXjXeyzQ2c8l/Yw/kVyzSxM/Dp2G0ZrScPkLY/9FyyMDbbBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=bNmXGOfLI4oEJyUY1ZGhjeLkIHkaOyRtvlHeMSCz4hWPI+MgaDn6PcSUHpLteKfDC7E8VDdla10Kl9L82S4ZJ6hRWE5vxWpYMCxCFE1k/dr2tzT8Wa/XtdP9TNWc3xPeWmxqVMh/JZiLN/s1ShJTy3WdBQ65fNSfPw1ryXL9zdA= Received: by 10.35.36.13 with SMTP id o13mr7596764pyj.17.1203384228524; Mon, 18 Feb 2008 17:23:48 -0800 (PST) Received: from albook.local ( [69.207.169.30]) by mx.google.com with ESMTPS id p57sm8381278pyb.15.2008.02.18.17.23.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Feb 2008 17:23:47 -0800 (PST) Message-ID: <47BA2FA1.2040703@gmail.com> Date: Mon, 18 Feb 2008 20:23:45 -0500 From: Paul Tomblin User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Getting "This ResultSet is closed" exceptions References: <8efd35820802180619l352d9b0eta35788642a5fc4eb@mail.gmail.com> <200802181708.07111.jdevisser@digitalfairway.com> <8efd35820802181507i3dace145t9b67bda4f07cd0fa@mail.gmail.com> <200802182017.58477.jdevisser@digitalfairway.com> In-Reply-To: <200802182017.58477.jdevisser@digitalfairway.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200802/132 X-Sequence-Number: 18339 Jan de Visser wrote: > On Monday 18 February 2008 18:07:59 Paul Tomblin wrote: >> I've turned off autocommit, and am >> running around the code trying to figure out where is the best place >> to put "conn.commit();" calls. > > Come again? You are using a single connection and are calling commit and > seemingly random spots? That means that thread A will call commit while > thread B is in the middle of doing things. Like I said, it's been running in autocommit mode for about 6 years now. Any problems that might have occurred from an inconsistent database have been seen and rectified long ago. -- Paul Tomblin http://blog.xcski.com/ Sept 25th: Discovered lots of things about Dynamic HTML. Notably that almost every site attempting to use it is crap. -- Alan Cox's diary