Thought this was alot easier then extracting the actual JDBC JAR file and viewing META-INF/MANIFEST.MF. Of course you can still use the JDBC API via DatabaseMetaData, but normally you don't need to go to that effort.
UNIX
> unzip -p ojdbc14.jar META-INF/MANIFEST.MF | grep -C 1 version
WINDOWS
> unzip -p ojdbc14.jar META-INF/MANIFEST.MF
Note: If you have grep.exe for windows you could use this.
> unzip -p ojdbc14.jar META-INF/MANIFEST.MF | grep -C version
Output (Unix demo)
------------------------
[oracle@beast lib]$ unzip -p ojdbc14.jar META-INF/MANIFEST.MF | grep -C 1 version
Manifest-Version: 1.0
Implementation-Version: "Oracle JDBC Driver version - 10.1.0.5.0"
Specification-Title: "Oracle JDBC driver classes for use with JDK1.4"
Specification-Version: "Oracle JDBC Driver version - 10.1.0.5.0"
Implementation-Title: "ojdbc14.jar"
If your using 11g JDBC driver then you can do it as follows.
http://theblasfrompas.blogspot.com/2007/09/fast-way-to-determine-exact-11g-jdbc.html
14 comments:
Great blog! I truly love how it’s easy on my eyes and the details are well written. I am wondering how I could be notified whenever a new post has been made. I have subscribed to your rss feed which ought to do the trick! Have a nice day!
Useful publication and excellent presentation!
I twitt it. I very enjoy entertaiment indutry in this country.
Bob Siris, New york
Good Article
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts
Glad I detected this on google .
Hello, it really interesting, thanks
Hello. It's good news !
Your site is really good and the posts are just wonderful. Thank you and keep doing your great work.
very nice post, i certainly love this website, keep on it
Good day! This is my 1st comment here so I just wanted to give a quick shout out and say I truly enjoy reading through your blog posts.
Sweet blog! I found it while surfing around on Yahoo News.
I will be sure to bookmark it and come back to learn extra of your useful info. Thank you for the post. I will certainly return.
Your writing style has been amazed me. Thanks, very nice post.
Post a Comment