Thursday, 13 September 2007

Fast way to determine the exact 11g JDBC driver version

With the new 11g JDBC driver you can now easily determine the JDBC driver full version as follows without having to use conn.getMetaData() which is alot easier.

> java -jar ojdbc5.jar


Oracle JDBC 3.0 compiled with JDK5

Note: If you want to get the version of ojdbc6.jar then you will need to make sure you use JDK 1.6

> d:\jdev\jdk16\bin\java.exe -jar ojdbc6.jar


Oracle JDBC 4.0 compiled with JDK6

No comments: