[concurrency-interest] Cancellation convention
Dhanji R. Prasanna
dhanji at gmail.com
Tue Jun 6 20:16:43 EDT 2006
On 6/7/06, Mike Quilleash <mike.quilleash at azuresolutions.com> wrote:
> Specifically I'm interested in being able to cancel long running JDBC calls
> (using PreparedStatement.cancel()).
JDBC provides a setQueryTimeout which will throw a SQLException if the
PS runs past the timeout limit?
This should be the preferred way of timing out long-running queries,
as the semantics of concurrency with JDBC are obscure at best--unless
Im very much mistaken and have misunderstood your problem.
More information about the Concurrency-interest