Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Java threads & deamons

Java threads & deamons

From: AlexLi <magrone_at_hotmail.com>
Date: 5 May 2004 09:16:04 -0700
Message-ID: <94bebdde.0405050816.71d45acd@posting.google.com>


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. Received on Wed May 05 2004 - 11:16:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US