Functionality of the cancel() method

What is the functionality of the cancel() method, provided in java.sql.Statement?

Questions by khadarzone   answers by khadarzone

Showing Answers 1 - 3 of 3 Answers

bino75

  • Sep 16th, 2009
 

Cancels the Statement object if both the DBMS and driver support aborting an SQL statement. This method can be used by one thread to cancel a statement that is being executed by another thread.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions