my dog learned polymorphism*
The moose likes JDBC and the fly likes How to find Driver type and name? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to find Driver type and name?" Watch "How to find Driver type and name?" New topic
Author

How to find Driver type and name?

Thillai Sakthi
Ranch Hand

Joined: Jun 17, 2000
Posts: 102
Hello World,
Even before staring the JDBC coding, how do I find out the type and name of the driver from the system settings.....(I have jdk and a DB is installed already...), is there any intuitive way to find this out?
Please forgive my innocence....


Regards,
Shakthi
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Well, as far as I know, it depends on your database. There are many drivers that you can choose from. So if you're using MySql, there's a particular driver that you use for *that* database. The same with oracle, sql server, etc.


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

You can get the version info of the driver by invoking methods
getMajorVersion()
getMinorVersion()
You will have to read the Driver vedor doc to get the type info.


Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find Driver type and name?
 
Similar Threads
How to find JDBC driver type ?
JDBC Driver spec number?
loading driver in JSP
Type of JDBC Drivers
Type 4