From: Paul Tomblin <ptomblin@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Getting "This ResultSet is closed" exceptions
Date: Mon, 18 Feb 2008 20:23:45 -0500
Message-ID: <47BA2FA1.2040703@gmail.com> (raw)
In-Reply-To: <200802182017.58477.jdevisser@digitalfairway.com>
References: <8efd35820802180619l352d9b0eta35788642a5fc4eb@mail.gmail.com>
<200802181708.07111.jdevisser@digitalfairway.com>
<8efd35820802181507i3dace145t9b67bda4f07cd0fa@mail.gmail.com>
<200802182017.58477.jdevisser@digitalfairway.com>
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 <ptomblin@xcski.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: ptomblin@gmail.com
Subject: Re: Getting "This ResultSet is closed" exceptions
In-Reply-To: <47BA2FA1.2040703@gmail.com>
References: <8efd35820802180619l352d9b0eta35788642a5fc4eb@mail.gmail.com> <200802181708.07111.jdevisser@digitalfairway.com> <8efd35820802181507i3dace145t9b67bda4f07cd0fa@mail.gmail.com> <200802182017.58477.jdevisser@digitalfairway.com> <47BA2FA1.2040703@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox