Java Stored Procedures and Threading -
09-13-2004
, 03:59 PM
I am currently trying to multi-thread a task in an Oracle Java Stored
Procedure so one thread can run a process while the other, main
thread, continues on to it's next task. Does anyone know if there is
some kind of limition on multi-threaded code embedded in a OJSP?
The problem is that I have a mod_plsql webpage that is running a large
report, one that normally takes too long and the browser times out.
In pure java environments I have handled this by simply saying:
new Thread(new MyRunnableClass()).start();
However, there seems to be something about that statement that Oracle
does not like. Any ideas? |