Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.4
-
None
-
None
Description
In method org.apache.commons.dbcp.PoolableConnectionFactory#passivateObject(Object obj) two undesireable calls are done:
1. setAutocommit(true) is always called
2. This check: !conn.getAutoCommit() && !conn.isReadOnly() always rollback the connection
The only idea I have is to extend PoolableConnection and override the critical methods