The JDBC ( Java Database Connectivity )API provides database access from the Java programming language. Using the JDBC API, we can connect to and access data from the backend SQL-compliant databases.
JDBC was introduced by JavaSoft and later it was defined by Sun Microsystems from JDK 1.1 onwards. We can find the JDBC classes in java.sql and javax.sql packages.
Database vendors can implement and extend the standard to provide their own JDBC drivers. JDBC API allows the Java Application to interact with multiple databases from different vendors on multiple OS platforms.
To use the JDBC API with the database, we need a JDBC driver to mediate between JDBC API and the back-end database. There are several types of JDBC Drivers.
Types of JDBC Drivers:
JDBC API Versions
There are several versions of JDBC API
- JDBC 1.x
- JDBC 2.x
- JDBC 3.x
- JDBC 4.x
JDBC includes the following JDBC packages
These packages contain the necessary classes and interfaces for developing the JDBC application.
Java Tutorial on this website:
For more information on Java, visit the official website :
More information about Oracle Database: