Unfortunately, the jdbc specification is silent on warranties Statement.cancel().
Statement.cancel()
The only thing javadoc pointed out is that it Statement.cancel()is a thread safe .But:
cancel()
Statement
Is it guaranteed that the cancel () function will always work?
. , . , , UnsupportedOperationException
, cancel() ( )
. cancel() . , .
javadoc:
, SQL
. , Statement.cancel() , , Java RE.
, , /.
Source: https://habr.com/ru/post/1783423/More articles:FroYo cupcake for market problems (application not shown to some people or listed on appbrain) - androidHow to get GPS coordinates every minute in Android? - javaJava: detecting a dead end in implicit queues when debugging a breakpoint - javaФункция обратного вызова с параметрами - javascriptHow to convert time format? - c #How is the echo symbol 0x96 in a batch file? - commandwindows phone 7-page transition to yourself - windows-phone-7Delete temporary file during final removal of output file during catch - javaРазличия в синтаксисе SQL между SQL Server 2005 и ADO.Net? - .netHow to get value from HTML file in Java? - javaAll Articles