Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Java external procedure help?

RE: Java external procedure help?

From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Sun, 11 Jun 2006 22:21:21 +0200
Message-ID: <F2C9CCA71510B442AF71446CAE8AEBAF3F5F28@MSXVS04.trivadis.com>


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-l
Received on Sun Jun 11 2006 - 15:21:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US