pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: João Paulo Ribeiro <jp@mobicomp.com>
To: pgsql-jdbc@postgresql.org
Subject: Behaviour of setAutoCommit may not be completely correct.
Date: Fri, 31 Mar 2006 11:02:54 +0100
Message-ID: <442CFE4E.9000309@mobicomp.com> (raw)

Hello.

I found a situation that is causing db locks using enhydra dods with postgresql due to somethinf that look like a bad behaviour of postgresql.
Since version 6.0, i think, dods do all the db queries with setAutoCommit(false). The expected behaviour of setAutocommit(...) is that the current transaction is commited, allowing the db backend to free resources previously allocated, and a new one is created with the autocommit set to the value passed.



view thread (9+ messages)  latest in thread

Message-ID: <442CFE4E.9000309@mobicomp.com>
Permalink:  ../442CFE4E.9000309@mobicomp.com/
Also on:    postgresql.org/message-id/442CFE4E.9000309@mobicomp.com

 · 

reply

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: jp@mobicomp.com
  Subject: Re: Behaviour of setAutoCommit may not be completely correct.
  In-Reply-To: <442CFE4E.9000309@mobicomp.com>
  References: <442CFE4E.9000309@mobicomp.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