What is JDBC ?

Introduction

JDBC stands for Java Database Connectivity. It is a Java API that defines how a Java program can connect and execute queries with a database. It is a part of the Java Standard Edition platform, from Oracle Corporation. JDBC API uses JDBC drivers to communicate with different types of databases. There are four types of JDBC drivers:

  • JDBC-ODBC Bridge Driver,
  • JDBC Native Driver,
  • JDBC Network Protocol Driver, and
  • JDBC Thin Driver

The most commonly used type is the Thin Driver, which is database-specific and platform-independent

The Statement interface is used to create SQL basic statements in Java it provides methods to execute queries with the database. There are different types of statements.

  • Statement
  • Prepared Statement
  • Callable Statement

For more details please read our next session.....

Comments

Popular Topics

What is JSP. How to create one JSP application in Eclipse

How to develop a RESTful webservice in java ?

Data Types in PL/SQL

What is Hibernate in java ?

If you have any query or suggestions, Please feel free to write us

Name

Email *

Message *