commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1547225 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
Date Mon, 02 Dec 2013 22:32:05 GMT
Author: markt
Date: Mon Dec  2 22:32:05 2013
New Revision: 1547225

URL: http://svn.apache.org/r1547225
Log:
Add an explanatory comment

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java?rev=1547225&r1=1547224&r2=1547225&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
Mon Dec  2 22:32:05 2013
@@ -298,6 +298,7 @@ public class PoolableConnectionFactory
             conn.rollback();
         }
         conn.clearWarnings();
+        // DBCP-97 Idle connections in the pool should have autoCommit enabled 
         if(!conn.getAutoCommit()) {
             conn.setAutoCommit(true);
         }



Mime
View raw message