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
Post a Comment