In this case, allowing a Java program to communicate with the database.
This technology now belongs to Oracle.
The JDBC drivers allow you to write one program that can send SQL statements to different data sources.

There are 4 different types of JDBC drivers:
Each of these driver types has its advantages and disadvantages.
However, that is not what we will be discussing in this post.
Download JDBC Drivers
Refer to the below sections to download the respective JDBC drivers.

Download JDBC Driver for MySQL
OpenMySQL Community Downloads page.
Select your operating system and then clickGo to download page.
Under theDownloadsection, tap on the link that you want to download (ZIP andTAR.GZ).

grab the respective link for the version that you want to download, and it should begin downloading instantly.
Download JDBC Driver for PostgreSQL
Open thePostgreSQL JDBC drivers download page.
Here, choose the version that you want to download.

Here, clickCode, and then clickDownload ZIPto download a compressed folder with the JDBC driver.
Now extract the downloaded driver and then copy the appropriate JAR file to your applications classpath.
Download JDBC Driver for H2 Database
Open theH2 Database JDBC drivers download page.

Now simply go for the link below theDownloadssection to begin downloading the JDBC driver for the H2 database.
Download JDBC Driver for Microsoft Access
Open theMicrosoft Access JDBC drivers download page.
This is how you might set up the JDBC drivers for the respective databases.
Note:The versions of the dependencies listed in the code below may not be up to date.
you could search onMaven Central Repositoryfor the latest versions.
0
Get weekly insights, tips and exclusive content delivered straight to your inbox.
Talk to us straight and get your questions answered right away
source: www.itechtics.com