On Thu, 10 Dec 2009, John R Pierce wrote:
> does Connection.setReadOnly(true) block pgjdbc from automatically issuing
> BEGIN;, similar to setAutoCommit(true) ?
> if not, why not?
Just because your connection is readonly doesn't mean that everyone elses
is as well. If you want a consistent view of the database you can get
that with a serializable transaction.
In response to
pgsql-jdbc by date
|Next:||From: Scott Ribe||Date: 2009-12-10 23:20:28|
|Subject: Re: Cheapest way to poll for notifications?|
|Previous:||From: John R Pierce||Date: 2009-12-10 22:17:31|