|
-
Jun 11th, 2002, 09:39 AM
#1
Thread Starter
Frenzied Member
Oracle Question
Is it possible to invoke an external process eg. java app or shell script from a stored procedure?
Thanks
-
Jun 11th, 2002, 09:43 AM
#2
Retired VBF Adm1nistrator
Re: Oracle Question
Originally posted by Mark Sreeves
Is it possible to invoke an external process eg. java app or shell script from a stored procedure?
Thanks
Well who executes the app ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 11th, 2002, 09:45 AM
#3
Thread Starter
Frenzied Member
Re: Re: Oracle Question
Originally posted by plenderj
Well who executes the app ?
A trigger
-
Jun 11th, 2002, 09:49 AM
#4
Retired VBF Adm1nistrator
Re: Re: Re: Oracle Question
Originally posted by Mark Sreeves
A trigger
No I mean when this process is being invoked, what system is it going to be running on ?
The server itself, or a workstation or ...?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 11th, 2002, 10:05 AM
#5
Thread Starter
Frenzied Member
Er... um...
The shell script will run on the same server as the Oracle database sits and I need it to be kicked off by a trigger.
Is this possible?
-
Jun 11th, 2002, 10:18 AM
#6
Fanatic Member
well, you can definatly call Java Classes from PLSQL (stored procedures), but as is typical of Oracel and its documentation, details are not easy to get hols of. try:
http://download-west.oracle.com/otnd...call.htm#11760
It seems you need to publish the class and its methods as a procedure...
Don't know about shell scripts - I'm sure there is some DBMS_ package that will do it
Let me know if you need any help on the PLSQL side though
-
Jun 11th, 2002, 10:23 AM
#7
Fanatic Member
Oh and Mark/???? ( ), check what version of Oracle you are using - Anything less than 8i tends to require workarounds...
-
Jun 11th, 2002, 10:38 AM
#8
Thread Starter
Frenzied Member
Thanks Gaffer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|