Site icon TestingDocs.com

Introduction to JDBC API(Java Database Connectivity)

Overview

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.

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 Packages

JDBC includes the following JDBC packages

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 :

https://www.oracle.com/java/

More information about Oracle Database:

https://www.oracle.com/database/

Exit mobile version