From: Kevin Grittner <kgrittn@mail.com>
To: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: commit problem
Date: Thu, 25 Oct 2012 18:10:48 -0400
Message-ID: <20121025221048.306920@gmx.com> (raw)
John R Pierce wrote:
> my developers don't think simple reads ARE a transaction.
Now you've piqued my interest. To run multiple simple selects which
should see a consistent view of the data, wouldn't they expect they
could setTransactionIsolation() to TRANSACTION_REPEATABLE_READ or
TRANSACTION_SERIALIZABLE and setAutoCommit() false to see a stable
view of the data? How would they say they were done with that view
and wanted a fresh one for the next batch of SELECT statements?
-Kevin
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: kgrittn@mail.com, pierce@hogranch.com
Subject: Re: commit problem
In-Reply-To: <20121025221048.306920@gmx.com>
References: <20121025221048.306920@gmx.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