Java threads & deamons

From: AlexLi (magrone_at_hotmail.com)
Date: 05/05/04


Date: 5 May 2004 09:16:04 -0700

Hi.

We are trying to make a "batch" execution in a Oracle DB 9.2.4 with
the java.lang.threads. In other word we want to execute a
procedure/package without waiting the result from the (for example)
SQL*Plus propmt.

The java class we have created has this piece of code inside:

         . . .
         Thread thread = new forkato();
         thread.setDaemon(true);
         thread.start();
         . . .

but the class don't terminate, waiting the thread forkato ending: as
opposed as we want !

Anybody has used this method ?

thanks.



Relevant Pages

  • Re: I wanna implement the revolving slash while the process is executing
    ... complete the execution. ... I am interested in implementing something animate while users are ... waiting for the process to complete. ... If you have experience with Linux/Unix, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Need output from visual basic script
    ... I was already using that switch. ... switch causes cmd.exe to terminate after execution. ... but didn't address the problem of the Clipper program waiting ... swpruncmd op code to call cmd.exe to execute the script. ...
    (comp.lang.clipper)
  • I wanna implement the revolving slash while the process is executing
    ... I have a Windows console application, which takes around 3 minutes to ... complete the execution. ... I am interested in implementing something animate while users are ... waiting for the process to complete. ...
    (microsoft.public.dotnet.languages.csharp)
  • Batch File output to File with java twist
    ... I have written a batch file that uses about 5 menus before executing a ... java class based upon the input from the user. ... What i would like to do is have all the output from the java execution ...
    (microsoft.public.windowsxp.general)
  • Re: problems in pausing and resumig threads
    ... Now in Cmaingui if somebody presses pause, then i execute the following code ... thread doesn't stop execution and hence procedure doesnt stop execution. ... no use, because SuspendThread should not even exist, and given that it does ... instead of waiting on the thread handle to become signaled. ...
    (microsoft.public.vc.mfc)