• Post Reply Bookmark Topic Watch Topic
  • New Topic

Output by DriverManager.getDrivers

 
Goppey Denzel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using MYSQL Server 5.6 and mysql-connector.rar from my following java program and I am getting 2 types of JDBC drivers as an output of DriverManager.getDrivers method.
So what is the reason behind 2 types of drivers output?







output:
 
K. Tsang
Bartender
Posts: 3610
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

The 2 types of drivers you see are 1) ODBC-JDBC bridge and 2) native JDBC drivers.

In fact there are 4 types of JDBC drivers. ODBC-JDBC bridge is considered "type 1" and the other one is most likely "type 4".

Here describes what the 4 types are.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!