pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jagadish Prasath Ramu <jagadish.ramu@Sun.COM>
To: pgsql-bugs@postgresql.org
Subject: BUG #2444: XA Connections given by posgres driver has auto-commit value false by default
Date: Fri, 19 May 2006 10:09:24 GMT
Message-ID: <200605191009.k4JA9OjS042465@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      2444
Logged by:          Jagadish Prasath Ramu
Email address:      jagadish.ramu@Sun.COM
PostgreSQL version: posgres driver
Operating system:   Fedora Core 4, Solaris
Description:        XA Connections given by posgres driver has auto-commit
value false by default
Details: 

Problem with PostgresDriver : postgresql-8.1-405.jdbc3.jar

I am using the above driver to get an XA Connection and I found that
auto-commit value of it is false by default.

Source : org/postgresql/xa/PGXAConnection.java
Constructor :

PGXAConnection(BaseConnection conn) throws SQLException
    {
        super(conn, false);
        this.conn = conn;
        this.conn.setAutoCommit(false);
        this.state = STATE_IDLE;
        this.logger = conn.getLogger();
    }




view thread (4+ messages)  latest in thread

Message-ID: <200605191009.k4JA9OjS042465@wwwmaster.postgresql.org>
Permalink:  ../200605191009.k4JA9OjS042465@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/200605191009.k4JA9OjS042465@wwwmaster.postgresql.org

 · 

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: jagadish.ramu@Sun.COM, pgsql-bugs@postgresql.org
  Subject: Re: BUG #2444: XA Connections given by posgres driver has auto-commit value false by default
  In-Reply-To: <200605191009.k4JA9OjS042465@wwwmaster.postgresql.org>
  References: <200605191009.k4JA9OjS042465@wwwmaster.postgresql.org>

* 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