X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 7C4C89FA56A for ; Fri, 19 May 2006 07:09:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 34350-04 for ; Fri, 19 May 2006 07:09:26 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [65.19.161.25]) by postgresql.org (Postfix) with ESMTP id DDC029FA509 for ; Fri, 19 May 2006 07:09:25 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [65.19.161.25]) by wwwmaster.postgresql.org (8.13.3/8.13.3) with ESMTP id k4JA9OMu042466 for ; Fri, 19 May 2006 10:09:24 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.13.3/8.13.3/Submit) id k4JA9OjS042465; Fri, 19 May 2006 10:09:24 GMT (envelope-from www) Date: Fri, 19 May 2006 10:09:24 GMT Message-Id: <200605191009.k4JA9OjS042465@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #2444: XA Connections given by posgres driver has auto-commit value false by default From: "Jagadish Prasath Ramu" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/94 X-Sequence-Number: 15087 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(); }