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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Sample Java code requested

Re: Sample Java code requested

From: Bjorn Abelli <DoNotSpam.bjorn_abelli_at_hotmail.com>
Date: Mon, 17 Nov 2003 14:28:20 +0100
Message-ID: <bpaidk$1lu0po$1@ID-73292.news.uni-berlin.de>


"Brad" ...

[Please don't crosspost.
 Followup set to only comp.lang.java.databases]

> Despite my earlier attempts, I'm not sure what all
> the talk about the ojdbc14.jar file being the CLASSPATH
> variable was all about - would I be right in assuming
> that this is Type 4 driver

Actually *both* classes12.zip and ojdbc14.jar contains drivers for both type 2 and 4 ("jdbc:oracle:thin" invokes the type 4 driver).

The difference between the packages are as the names suggests, classes12.zip is for JRE version 1.2. ojdbc14.jar is for JRE 1.4.

> and subsequently works better than that originally
> shipped with Oracle 8.1.7?

ojdbc14.jar wasn't shipped with 8.1.7 simply because it wasn't developed at that time. It's shipped with Oracle 9 and later.

// Bjorn A Received on Mon Nov 17 2003 - 07:28:20 CST

Original text of this message

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