• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I stop a CallableStatement?

 
Renee Zhang
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a CallableStatement which calls a stored PL/SQL procedure. It takes about 2 minutes(Oops). I feel that once I call callableStatement.execute(); there is nowhere that I can stop it in the middle.
It looks like I have to rewrite the procedure in JAVA. Am I right? Any suggestion will be greatly appreciated.
Renee
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!