Pages

Friday, 27 October 2017

JDBC Tutorial

JDBC Tutorial


The JDBC is a java API to connect and execute query with the database. Using JDBC you can connect your Java program to DataBase. Today we discuss about jdbc tutorial.

JDBC Tutorial

It is used to interact with various type of Database such as Oracle, MS Access, My SQL and SQL Server. but generally we use Oracle for Java Application. JDBC can also be defined as the platform-independent interface between a relational database and Java programming. It allows java program to execute SQL statement and retrieve result from database.

Why use JDBC

Before JDBC, OBCD API is used for connect Java program to DataBase and execute query. But, ODBC API uses ODBC driver which is written in C language (i.e. platform dependent and unsecured). That is why Java has defined its own API (JDBC API) that uses JDBC drivers (written in Java language).

For Read More Visit: JDBC Tutorial

No comments:

Post a Comment