commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodney Waldhoff <>
Subject Re: Recovering from dropped connections when using commons DCBP
Date Mon, 09 Dec 2002 23:13:28 GMT
One quick fix is to set the validationQuery property in your JNDI
configuration to some fast query that returns at least one row, for
example "SELECT 1" or "SELECT DUMMY FROM DUAL".  This will allow DBCP to
validate the query before returning it your client code.

You may also find the comments at

If you need more detail, please follow up.

View raw message