Click to See Complete Forum and Search --> : How Can I get all available database drivers?


vinay_joshi
March 7th, 2000, 01:25 AM
How can I get all the available database drivers?

The basic problem is that, the getDrivers() method in DriverManager class gives you list of all the drivers registerd with it and not all those are available on machine. Unless and until any driver is not initialized / registered with DriverManager, by means of registerDriver() of Driver interface, you will not get that driver availabe to you. Can anybody help me in this regard, so that I can get all the available driver list?

V. V. Joshi.

DHunter21
March 7th, 2000, 07:35 PM
A list of currently supported Database drivers can be found at:
www.java.sun.com/products/jdbc/drivers.html

Dustin

vinay_joshi
March 7th, 2000, 11:18 PM
Hello there!
Thanks for your suggestion!
But, I want the list of all the drivers available on my machine, progrmatically, without initalizing / loading / registering.
I want to implement it in such a way that first I'll locate all the drivers available with me, and then, depending upon it, I'll load any one of them with user's preference.
But the DriverManager's getDrivers() method gives me all the drivers those are registered with it and not other. So I want such Java API that will give me a list of all the drivers available on my machine.
Please help me!
Thanks in advance!

V. V. Joshi.