You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Kenneth Huang <yo...@gmail.com> on 2009/04/21 02:52:49 UTC

[DBCP] Connection Timeout

I use Oracle, the db connection will be time out when exceeded maximum idle time. But DataSource still return this invalid connection. I found it has a issue DBCP-287, but it's unscheduled.

I think if DataSource can close the connection first( if connection is idle in 5 minutes or more ) when getConnection() method is called, then the connection never exceeded maximum idle time. 

Can someone pls kindly get me some suggest for codeing??   

-------------
Kenneth Huang



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org