Cancelling Long Running Queries with 11g JDBC Thin Driver
(Doc ID 850511.1)
Last updated on FEBRUARY 12, 2019
Applies to:JDBC - Version 22.214.171.124 and later
Information in this document applies to any platform.
With the introduction of the 11g JDBC driver calling Statement.cancel() will actually cancel a long running query where in 10g JDBC Driver this would not work. Now with the 11g JDBC driver the cancel request is sent out of band. The out-of-band implementation may allow the database server to process the request immediately and terminate the system call that would otherwise block the query. This database feature is operating system dependent and may not work on all platforms.
For more information on this please see:
<Note 552275.1> - Problem Canceling Locking Queries Using JDBC/thin and setQueryTimeout
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document