PooledConnectionImpl creates Connections with autoCommit set to false

Поиск
Список
Период
Сортировка
Искать

PooledConnectionImpl creates Connections with autoCommit set to false

От:
anaheim@luukku.com
Дата:

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

FAQ