A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Databases
»
JDBC
Author
Version of JDBC ?
Pankaj Batra
Greenhorn
Joined: Oct 17, 2000
Posts: 5
posted
Oct 16, 2001 04:27:00
0
Hi !,
I have JDK1.2 installed on my machine. How do I get to know what version of
JDBC
comes with it.
Pankaj
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
Oct 16, 2001 06:45:00
0
I believe it's JDBC 2.0. That does not mean that your database driver will support it though. You can find out what version your DB supports.
Driver theDriver = DriverManager.getDriver(yourDatabaseURL);
System.out.println(theDriver.getMajorVersion() + "." + theDriver.getMinorVersion())
Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
I agree. Here's the link:
http://jrebel.com/download
subject: Version of JDBC ?
Similar Threads
Unexpected Exception
Error Message
Jdbc tutorial
JBoss - MDB deployment
How we know which JDBC version we are using
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter