Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
1.2, 1.2.1, 1.2.2
-
None
Description
PoolableConnectionFactory.validateConnection(Connection conn) should use java.sql.Statement.setQueryTimeout(int) to avoid network problems and inappropriate validation queries. The timeout should either be a sensible default (say 5 secs) or be configurable.
Links:
Attachments
Attachments
Issue Links
- duplicates
-
DBCP-226 DBCP should support configuration of queryTimeout for validation queries
- Closed