[DBCP] testEvict fails

2020-07-03 Thread Robert Paschek
Hello, when I'm running mvn clean test on the current master branch, testEvict always fails with the same error. [ERROR] Failures: [ERROR] TestAbandonedBasicDataSource>TestBasicDataSource.testEvict:946 EvictionTimer thread was destroyed with numIdle=7(expected: less or equal than 5)

Re: [DBCP] poolPreparedStatements

2020-06-30 Thread Robert Paschek
, 2020, 16:36 Robert Paschek wrote: > Hello, > > DBCP has a feature to pool PreparedStatements for the lifetime of a > connection. > This results in cursors being open and locks in the database for a long > time, which could cause problems with administrative tasks in the data

Re: [DBCP] poolPreparedStatements

2020-06-30 Thread Robert Paschek
@commons.apache.org Subject: Re: [DBCP] poolPreparedStatements   On 6/29/20 12:17 PM, Robert Paschek wrote: > Hello, > > DBCP has a feature to pool PreparedStatements for the lifetime of a > connection. > This results in cursors being open and locks in the database for a long

[DBCP] poolPreparedStatements

2020-06-29 Thread Robert Paschek
Hello, DBCP has a feature to pool PreparedStatements for the lifetime of a connection. This results in cursors being open and locks in the database for a long time, which could cause problems with administrative tasks in the database. That why I would prefer this pool to be more short-living,