JDBC
JDBC, Java Database Connectivity, is a Java API that provides a standard way for Java applications to interact with relational databases using SQL. It abstracts database-specific details behind a uniform set of interfaces, allowing code to work with multiple database systems through drivers.
The core elements of JDBC include the Driver, which implements the database-specific communication, and the DriverManager
How JDBC works in practice involves loading a JDBC driver, obtaining a Connection from DriverManager or a
There are several driver models in JDBC: Type 1 bridging drivers, Type 2 native library drivers, Type
Key features of JDBC include support for prepared statements with parameter binding, batch updates, and stored
JDBC is part of the Java Platform, Standard Edition, with the API located in java.sql and javax.sql.