Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Java external procedure help?
PERFECT! Thanks!!
RF
-----Original Message-----
From: Christian Antognini [mailto:Christian.Antognini_at_trivadis.com]
Sent: Sunday, June 11, 2006 2:21 PM
To: robertgfreeman_at_yahoo.com
Cc: oracle-l_at_freelists.org
Subject: 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 - 22:42:08 CDT
![]() |
![]() |