Re: Automatic transactions in SELECT...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom Lisjac <netdxr(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Automatic transactions in SELECT...
Date: 2013-02-09 04:17:54
Message-ID: 15045.1360383474@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Tom Lisjac <netdxr(at)gmail(dot)com> writes:
> On 02/08/2013 08:23 PM, Tom Lane wrote:
>> There's no such behavior in the server. If you're using any client
>> library above the level of libpq, it might be trying to be "helpful"
>> by managing transactions --- but you've not said what your client-side
>> programmming environment is, so it's hard to speculate about that.

> Thanks for the quick reply... and good point about the layers between
> the app and db. The team is using Java/JBoss/Hibernate, so a great deal
> of "helpfulness" is possible where a setting somewhere in that stack
> might be the root cause.

Hm. That stuff is outside my expertise, but I'm fairly sure that the
JDBC driver does have some notion of transaction management, and if it
doesn't then JBoss or Hibernate probably do. Your issue is almost
surely in that stack somewhere.

The pgsql-jdbc list would be the best place to get help about the JDBC
driver. Dunno how much they know about JBoss or Hibernate though.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lisjac 2013-02-09 05:15:40 Re: Automatic transactions in SELECT...
Previous Message Tom Lisjac 2013-02-09 04:00:17 Re: Automatic transactions in SELECT...