Обсуждение: unsubscribe

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

unsubscribe

От
Amit_Wadhwa@Dell.com
Дата:
unsubscribe

-----Original Message-----
From: anaheim@luukku.com [mailto:anaheim@luukku.com]
Sent: Thursday, August 07, 2003 4:42 PM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] PooledConnectionImpl creates Connections with autoCommit
set to false



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


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster