Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Java Procedure Doesn't Exist When Executed
> Resant wrote:
>
>
> when I execute it from Oracle, it shows error :
>
> class EXECCOMMAND does not exist
>
In your code, Java class "EXECCOMMAND" does not exist. In your code, Java class "ExecCommand" does.
Revise your code to:
CREATE OR REPLACE FUNCTION EXEC_COMMAND(Command IN varchar2) RETURN
NUMBER AS
LANGUAGE JAVA
NAME 'ExecCommand.runCommand(java.lang.String) return int';
/
Regards
Mike
TESSELLA Michael.OShea_at_tessella.com
__/__/__/ Tessella Support Services plc __/__/__/ 3 Vineyard Chambers, ABINGDON, OX14 3PX, England __/__/__/ Tel: (44)(0)1235-555511 Fax: (44)(0)1235-553301www.tessella.com Registered in England No. 1466429 Received on Mon Jun 12 2006 - 08:30:10 CDT
![]() |
![]() |