PooledConnectionImpl creates Connections with autoCommit set to false

From: anaheim(at)luukku(dot)com
To: pgsql-jdbc(at)postgresql(dot)org
Subject: PooledConnectionImpl creates Connections with autoCommit set to false
Date: 2003-08-07 11:11:49
Message-ID: 1060254709903.anaheim.57505.cvCdVPMCGSh-77EAKqdkgw@luukku.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Hi!

I found out that PostgreSQL JDBC -driver (pg73jdbc2ee.jar) has a bad feature in class org.postgresql.jdbc2.optional.PooledConnectionImpl. It set Connections got from it to have autoCommit false.

This is a bad habit since the documentation of java.sql.Connection says that by default Connections should be in auto-commit mode (See e.g. http://java.sun.com/j2se/1.4.1/docs/api/java/sql/Connection.html)

Anaheim

............................................................
Maksuton sähköposti aina käytössä http://luukku.com
Kuukausimaksuton MTV3 Internet-liittymä www.mtv3.fi/liittyma

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2003-08-07 13:19:42 Re: SSL support in PG 7.4
Previous Message srikanth nagaraju 2003-08-07 10:58:10 pgsql - query