Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Java Oracle OCI Driver compatible for 9i and 10g

Re: Java Oracle OCI Driver compatible for 9i and 10g

From: Cristian Cudizio <cristian.cudizio_at_yahoo.it>
Date: 15 Mar 2007 08:29:23 -0700
Message-ID: <1173972562.918892.143000@n59g2000hsh.googlegroups.com>


On Mar 15, 1:21 pm, prashde..._at_gmail.com wrote:
> All,
> I have an web based Java application deployed in Tomcat 5.5.9 using
> JDK version 1.5 on windows.we use oracleOCI client to connect to
> oracle database.
>
> earlier we were using 9i version classes12.jar to connect to 9i
> database using 9i client.Now as we are upgrading our applications to
> use oracle 10g. Also as we still need to support oracle 9i, how can i
> make my application support both of them.
>
> If i use the 10g library classes12.jar in my application, i am not
> able to connect using 9i client to 9i database and vice versa.
>
> Even using 10g client's ojdbc14.jar i was not able to connect to db
> using 9i client.
>
> Please suggest.

i think that classes12.jar are jdbc drivers for java 1.2, for java 1.4 and above you must use ojdbc14.jar.
In the name of the jar file there is not the Oracle version. I use drivers of 10g to connect to 9i without any problem. See the oracle documentation, i believe that oracle certifies compatibility of 10g drivers with 9i (release 2, because previous release are not supported) Received on Thu Mar 15 2007 - 10:29:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US