Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to load java stored procedure?
somebody wrote:
> If I had a java stored procedure in a file named myproc.java,
> is it simply a matter of running loadjava myproc.java to load
> the stored procedure into the database?
>
>
> -Thanks
>
I compiled the file using Oracle's javac, built a jar from
the class files and then run loadjava with the jar file. The reason
was that the file generated several classes (I use anonymous classes
quite alot) and I think loadjava can load one file at a time.
-- Arto Viitanen, CSC Ltd. Espoo, FinlandReceived on Mon Dec 04 2006 - 00:56:53 CST