Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

Stopping Oracle stored procedure from Java code

Thread view: 
nkunkov@escholar.com - 25 Oct 2006 15:52 GMT
Hello,
I do hope somebody has already solved my problem.
I have an application that spawns 4 different threads.  Each thread
will perform it's own task which is calling a stored procedure.  Each
stored procedure could possibly run a very long time.  The user should
be able to stop any of the tasks he started.  Stopping a task means
stopping a stored procedure and doing the clean up of the affected
tables.
My only idea on how to stop a stored proc is to close the database
connection that the thread is using to call a stored procedure.  I'm
not sure it's such a good idea though...  What are my options?
I would appreciate any help on this matter.
Thanks in advance.
NK
Jope - 25 Oct 2006 16:16 GMT
I thing you should ask this kind of questions
from Oracle's forums. Address is below, at least those people
should know the answer.

Cheers,

http://forums.oracle.com/forums/categoryHome.jspa?categoryID=84

> Hello,
> I do hope somebody has already solved my problem.
[quoted text clipped - 10 lines]
> Thanks in advance.
> NK


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.