db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: [jira] Updated: (DERBY-31) Statement.setQueryTimeout() support.
Date Sat, 26 Feb 2005 23:02:15 GMT
Satheesh Bandaram wrote:

> I haven't reviewed the patch fully, but some comments I see are:

>    2. DMLs statements could also use timeouts... especially the searched
>       ones. I think we should handle executeUpdate() methods too.

>    4. Shouldn't we handle the cases of PreparedStatement and
>       CallableStatement as well?

Yes to both 2) and 4) but an initial contribution could just handle
Statement.executeQuery() as Shreyas has. The hard part to this is first
defining what cancel actually does, and then implementing it. Expanding
that to updates, all implementations of Statement and then query timeout
would be the logical next steps.


View raw message