Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Java external procedure help?
Robert
>Create or replace procedure test_write
>is
>language java
>name 'FileOutputDemo(java.lang.String)';
You have to problems here:
- you reference the class instead of the method (main is not "recognized"...)
- the parameter must be an array
Therefore the following should work:
Create or replace procedure test_write
is
language java
name 'FileOutputDemo.main(java.lang.String[])';
HTH
Chris
-- http://www.freelists.org/webpage/oracle-lReceived on Sun Jun 11 2006 - 15:21:21 CDT
![]() |
![]() |