Serge commented:
> Noel J. Bergman wrote:
> > connectionPool.setTestOnBorrow(true);
> > connectionPool.setTestOnReturn(true);
> > // connectionPool.setTestWhileIdle(true);
> These set in what conditions the *one* verification SQL statement will
> be run.
If there is no verification statement,
PoolableConnectionFactory.validateObject(Object) still does:
try {
if(conn.isClosed()) {
return false;
}
...
which is what we wanted in the first place. :-)
> I had a DBCP developer brag about how there were **8 configuration
> options** on when you could run the one verification SQL statement.
No comment.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]