by Dinesh Thakur Category: JDBC

A JDBC statement object is used to execute an SQL statement. JDBC API supports three types of JDBC statement object to work with the SQL statements.

In JDBC we get three types of statements:

i  Statement Interface

ii PreparedStatement Interface

iii CallableStatement Interface

   There is a relationship between above three statements:

                  Jdbc Statement

The above three Statement Interfaces are given in  java.sql package. PreparedStatement Interface extends Statement. It means PreparedStatement interface has more features than that statement interface, Callablestatement (interface) extends Prepared Statement.


It executes normal SQL statements with no IN and OUT parameters.


It executes parameterized SQL statement that supports IN parameter.


It executes parameterized SQL statement that invokes database procedure or function or supports IN and OUT parameter.

About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.C.A, MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.