commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William R. Speirs (Commented) (JIRA)" <>
Subject [jira] [Commented] (DBUTILS-70) add setQueryTimeout support to QueryRunner
Date Mon, 21 Nov 2011 19:24:51 GMT


William R. Speirs commented on DBUTILS-70:

Michael, if you have a patch I'd love to take a look... thanks!
> add setQueryTimeout support to QueryRunner
> ------------------------------------------
>                 Key: DBUTILS-70
>                 URL:
>             Project: Commons DbUtils
>          Issue Type: Improvement
>            Reporter: Michael Akerman
>            Priority: Minor
>             Fix For: 1.5
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> java.sql.Statement and java.sql.PrepareStatement support a method called setQueryTimeout.
> It would be nice to add a public setQueryTimeout method to QueryRunner that would pass
this parameter through to the underlying Statements or PreparedStatements.
> For most of my applications if a query runs longer than a few seconds, there's something
wrong, and I'd like a SQLException in that scenario so I can know there's an issue.
> I'd be happy to submit some code as a proposal.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message