RE: Java external procedure help?

  • From: "Christian Antognini" <Christian.Antognini@xxxxxxxxxxxx>
  • To: <robertgfreeman@xxxxxxxxx>
  • Date: Sun, 11 Jun 2006 22:21:21 +0200

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
--
//www.freelists.org/webpage/oracle-l


Other related posts: