Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Loading a Jar file in Oracle with loadjava, problems
Cindy Lee wrote:
> Questions:
>
> 1. Do I really have to import everything in source code so the oracle
> JVM compiles it itself?
No. I always _only_ load ".class" files or ".jar" files that _only_ contain ".class" files. In other words, I _never_ load java source code into the database.
> 2. If I CAN import jars, do they have to be compiled on the same exact
> version (e.g. if oracle runs 1.4.2_02, I cannot use any jar compiled on
> 1.4.2_03?
The classes you load into the database have to be compatible with the Oracle JVM. This depends on the Oracle database version you are using. I'm sorry, but I didn't find that information in your post. For your information, Oracle 9i has a 1.3 compatible JVM and Oracle 10g has a 1.4 compatible JVM.
Good Luck,
Avi.
Received on Wed Apr 28 2004 - 00:00:01 CDT