From: | Amit_Wadhwa(at)Dell(dot)com |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | unsubscribe |
Date: | 2003-08-07 19:29:10 |
Message-ID: | 7069D9668D54824AB9FBF9A4EFF72D390E4D74@blrx2kmbgl303.blr.amer.dell.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
unsubscribe
-----Original Message-----
From: anaheim(at)luukku(dot)com [mailto:anaheim(at)luukku(dot)com]
Sent: Thursday, August 07, 2003 4:42 PM
To: pgsql-jdbc(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2003-08-07 21:30:43 | Re: executeQuery |
Previous Message | Fernando Nasser | 2003-08-07 18:25:20 | Re: executeQuery |