JDBC API(Java Database Connectivity)
JDBC API
The JDBC ( Java Database Connectivity )API provides database access from the Java programming language. We can connect to and access data from the backend SQL-compliant databases using the JDBC API.
JDBC was introduced by JavaSoft and later defined by Sun Microsystems from JDK 1.1 onwards. The JDBC classes are in the java.sql and javax.sql packages.
Database vendors can implement and extend the standard to provide JDBC drivers. JDBC API allows the Java Application to interact with multiple databases from different vendors on multiple OS platforms.
JDBC Driver
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:
https://www.testingdocs.com/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 Packages
JDBC includes the following JDBC packages
- java.sql
- javax.sql
These packages contain the necessary classes and interfaces for developing the JDBC application.
—
Java Tutorials
Java Tutorial on this website:
https://www.testingdocs.com/java-tutorial/
For more information on Java, visit the official website :
More information about Oracle Database: