Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TRVdc-0001oK-TZ for pgsql-jdbc@postgresql.org; Thu, 25 Oct 2012 22:10:53 +0000 Received: from mailout-us.gmx.com ([74.208.5.67]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TRVdb-0001s6-BP for pgsql-jdbc@postgresql.org; Thu, 25 Oct 2012 22:10:52 +0000 Received: (qmail 12543 invoked by uid 0); 25 Oct 2012 22:10:50 -0000 Received: from 76.255.19.161 by rms-us008 with HTTP Content-Type: text/plain; charset="utf-8" Date: Thu, 25 Oct 2012 18:10:48 -0400 From: "Kevin Grittner" Message-ID: <20121025221048.306920@gmx.com> MIME-Version: 1.0 Subject: Re: commit problem To: "John R Pierce" ,pgsql-jdbc@postgresql.org X-Authenticated: #138763884 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: v937cIAW3zOlOQ09LnwhHfR+IGRvb0BJ X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201210/125 X-Sequence-Number: 23449 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