[DBCP2] Timeout on PoolingDataSource#getConnection() ?

2015-04-30 Thread Shawn Heisey
I'm using dbcp2-2.1 and pool2-2.3. Is there any kind of timeout configurable (or even needed) when calling getConnection() on a PoolingDataSource? I was looking over my code for possible problems and realized that I have no idea whether this call might block indefinitely or whether it will

Re: [DBCP2] Timeout on PoolingDataSource#getConnection() ?

2015-04-30 Thread Phil Steitz
On 4/30/15 1:40 PM, Shawn Heisey wrote: I'm using dbcp2-2.1 and pool2-2.3. Is there any kind of timeout configurable (or even needed) when calling getConnection() on a PoolingDataSource? I was looking over my code for possible problems and realized that I have no idea whether this call