Re: [dbcp] Unnecessary ROLLBACK's with BasicDataSource

2018-08-21 Thread Bernd Eckenfels
: Andrey Shcheglov Gesendet: Dienstag, August 21, 2018 5:01 PM An: user@commons.apache.org Betreff: [dbcp] Unnecessary ROLLBACK's with BasicDataSource Hello, If BasicDataSource (version 1.4, as I'm limited to Java 1.6) is configured with defaultAutoCommit=false, then two extra ROLLBACK'

[dbcp] Unnecessary ROLLBACK's with BasicDataSource

2018-08-21 Thread Andrey Shcheglov
Hello, If BasicDataSource (version 1.4, as I'm limited to Java 1.6) is configured with defaultAutoCommit=false, then two extra ROLLBACK's are executed, one when a database connection is taken from the pool, and another one when returning a connection to the pool. The corresponding stack traces ar