JDBC in Java: Everything That You Should Know as a Developer

Java Knowledge Sharing…

Geno Tech
CodeX

--

Photo by Clément Hélardot on Unsplash

JDBC stands for Java Database Connectivity, and it is a tool for access relational databases from a relational database system. JDBC is an API for client-side access to a database, and it is specifically RDBMS focused. It will allow you to have universal data access. If you write your sequel correctly, it’s not swappable. It has drivers, and you can run the same code against two different databases in theory. It works with Java on various systems, including Windows, Linux, and macOS, etc. Using the Driver Manager and database-specific drivers, the JDBC API enables transparent connection. JDBC Driver Manager ensures that the correct database driver is used to access each data source. So, first, let’s look at the prerequisites.

What are the perquisites?

  • Java Syntax
  • Common libraries from Java and Javax packages
  • Understanding about imports
  • Java 11 baseline

What are the common JDBC components?

The JDBC API includes the interfaces and classes listed below.

DriverManager

--

--

Geno Tech
CodeX
Writer for

Software Development | Data Science | AI — We write rich & meaningful content on development, technology, digital transformation & life lessons.