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.)
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 : 126.96.36.199.0
[3/20/09 2:44:21:575 EDT] 0000001f InternalOracl I DSRA8212I: DataStoreHelper name is: com.ibm.websphere.rsadapter.OracleDataStoreHelper@39136937.
What! 188.8.131.52! Looks like I’ve got the wrong one on there. 🙂