Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: java newbie - diff between loadjoava and create java
That was the understanding I was under. But.. I used the create java syntax to bring in a *compiled* java procedure, and didn't get any errors, although I have yet to see if it works. I also am pretty sure I saw in the java stored procedure guide. (If you do a technet search on "java stored procedure".. it's the first thing that comes up.. that it mentions loadjava can also load uncompiled procedure.. hence the confusion... any comments? As I said, I'm trying to get up to speed on all this java 8i stuff.. So, assuming I haven't been seeing things.. I still don't get it.
Further elaboration?
Thanks.
Dc
On Tue, 13 Mar 2001 04:36:36 GMT, "Dave Haas" <davidh_at_--nospam--hotmail.com> wrote:
>Hi Doug.
>
>You use "create java ..." when you want the use built-in complier inside the
>8i kernel. You use the commandline tool "loadjava ..." when you already
>have a compiled class file and you want to simply load it into the database
>and have all dependencies (all classes your new class references) resolved.
>
>So, in the case of "create java ...", you would log into SQL+ (or similar
>tool) and type in the class definition at the SQL+ prompt. When you were
>done, Oracle would compile it.
>
>But, in the case of "loadjava ...", you have already compiled your class (or
>classes) via something like Sun's javac compiler.
>
>HTH,
>
>Dave Haas
>
>
>"Doug C" <dcowles_at_i84.net> wrote in message
>news:u82qatord0d6lj483pr2lrji37m58kf4g1_at_4ax.com...
>> Newbie question.. I'f surfed around technet for a while, but am unsure
>> of when I would use loadjava, vs. CREATE JAVA for a java object.
>> Any insights?
>>
>> Thanks,
>> Doug
>
Received on Tue Mar 13 2001 - 22:55:49 CST
![]() |
![]() |