dbTalk Databases Forums  

Java Stored Procedures and Threading

comp.database.oracle comp.database.oracle


Discuss Java Stored Procedures and Threading in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike Nishizawa
 
Posts: n/a

Default 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?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.