A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Version of JDBC ?
Joined: Oct 17, 2000
Oct 16, 2001 04:27:00
I have JDK1.2 installed on my machine. How do I get to know what version of
comes with it.
Joined: Nov 06, 2000
Oct 16, 2001 06:45:00
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 (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: Version of JDBC ?
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
| Powered by
Copyright © 1998-2014