University of Cincinnati logo and link  
JDBC Driver Types
 
 

UC ingot There are a few flavors of drivers.  You can choose the correct one based on your objectives, perfomance requirements, and complexity. 
 
  • Type I Drivers uses a JDBC front-end that communicates with ODBC to connect to the database.  This is slower and less efficient than the other drivers, and should be avoided where possible.
  • Type II Drivers use some Java language and some native code.  Thus, these drivers are platform-specific.
  • Type III Drivers are 100% Java, and translate database-independent messages into a database-specific protocol.
  • Type IV Drivers are also 100% Java, and translate database request directly into a database-specific protocol.  This is the optimal driver type to use.
 Getting a Database