Given a JDBC driver, how do i find the driver type ? Any API available for it ?
Joined: Dec 15, 2004
i dont know the answer for it .but i want to ask you a question. provided with an api ,how would you use it in the application?
Joined: Jul 13, 2004
The reason for asking for an API is that, we use different drivers with different databases without actually knowing the type. And given a driver, how do we know what is its type ? Well, it doesnt make a difference to the end result though as long as the JDBC API's are implemented by the driver.
Joined: Sep 08, 2004
There is the DatabaseMetaData interface; the Connection.getMetaData() method returns an object that implements this. It has methods such as getDriverName(), getDriverVersion().