There are different types of JDBC drivers. The type 1 driver connects the ODBC driver to the database. Its role includes to convert into the ODBC function. There are several disadvantages to using this which are that it may be not as fast as the others, requires installation, and the equipment needed may not be available. The type 2 drive is called the Native-API driver and it converts to the database API.
An advantage of using this type includes that it might be faster than others. However, there is installation required as well as the driver is dependent on the platform. There are two other driver types. Overall, if you need to create a pool of connections that an application can use to interact with a database, then a JDBC provider is needed.