Wednesday, April 18, 2012

Check JDBC driver version

To check the JDBC driver version

run . ./setdomainenv.sh (dot space dot slash)
traverse to

cd *\wlserver_10.3\server\lib
java -jar ojdbc6.jar (where ojdbc6.jar is the driver's jar file)

you would get the result as
Oracle 11.1.0.7.0-Production JDBC 4.0 compiled with JDK6

so 11.1.0.7.0 is the version.

for db2 driver
wlserver_12.1\server\lib\wldb2.jar

D:\work\wls\wls12.1.1\wlserver_12.1\server\lib>java -cp wldb2.jar weblogic.jdbc.db2.DB2Driver
[FMWGEN][DB2 JDBC Driver]Driver Version: 4.2.1.035064 (F044246.U015812) 

1 comment:

Blogger said...

BlueHost is ultimately the best hosting provider for any hosting plans you need.