I’m working on a problem now where we need to use the Oracle 10g driver against a 9i database. There’s a note in the infocenter about it .But how to do you check which version of the driver you are using ? The filename of the driver is the same between each version of Oracle (ojdbc14.jar), so that’s not going to do it.
To check it out, unzip the driver and read the META-INF/MANIFEST.MF file. Here’s mine:
Specification-Title:Â Â Â Oracle JDBC driver classes for use with JDK14
Created-By: 1.4.2_08 (Sun Microsystems Inc.)
Implementation-Title:Â Â ojdbc14.jar
Specification-Vendor:Â Â Oracle Corporation
Specification-Version:Â Oracle JDBC Driver version - "10.2.0.3.0"
Implementation-Version: Oracle JDBC Driver version - "10.2.0.3.0"
Implementation-Vendor:Â Oracle Corporation
Implementation-Time:Â Â Â Fri Sep 29 09:43:24 2006
Also Portal (and regular ol’ Appserver) will tell you as they initialize in the SystemOut.log, just try this trusty command :
cat SystemOut.log | grep -A 2 “Oracle JDBC”
and you get back something like :
[3/20/09 2:44:21:572 EDT] 0000001f InternalOracl IÂ Â DSRA8206I: JDBC driver versionÂ : 184.108.40.206.0
[3/20/09 2:44:21:575 EDT] 0000001f InternalOracl IÂ Â DSRA8212I: DataStoreHelper name is: com.ibm.websphere.rsadapter.OracleDataStoreHelper@39136937.
What! 220.127.116.11! Looks like I’ve got the wrong one on there. 🙂