PooledConnectionImpl creates Connections with autoCommit set to false - Mailing list pgsql-jdbc

From anaheim@luukku.com
Subject PooledConnectionImpl creates Connections with autoCommit set to false
Date
Msg-id 1060254709903.anaheim.57505.cvCdVPMCGSh-77EAKqdkgw@luukku.com
Whole thread Raw
List 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-commitmode (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


pgsql-jdbc by date:

Previous
From: Warren Little
Date:
Subject: Dropping database in alternative space
Next
From: Brian Lindauer
Date:
Subject: Re: SSL support in PG 7.4