This tutorial on JDBC explains you the concept to Java Database Connectivity with the help of articles, examples and code examples. After completing this tutorial you will get the skills to use JDBC API effectively to develop database driven applications in Java. You can use JDBC in your console, AWT, Swing and Web applications. JDBC API provides the necessary interfaces for connecting to the relational databases and executing the SQL statements. All the Java based ORM technologies such as Hibernate, Toplink, iBatis etc. uses the JDBC API for connecting to the database.
The JDBC API is very important API and if you are planning to develop database driven application you will have to use it. So, for Java it is necessary to learn the JDBC in detail.
This JDBC tutorial is supported by many examples and code snippets. You can download these code and easily run on your machine as a part of learning process. Small JDBC examples are very useful in learn the detailed concepts of JDBC. We have provided the examples on almost all the concepts of JDBC.
Objective of the JDBC Tutorial
The Objective of this JDBC tutorial is to provide complete and concise tutorial on JDBC. This tutorial is also backed with and example of simple web application in JDBC.
Brief Introduction to JDBC
Java database connectivity or JDBC is an interface (API) used to connect to relational databases from the Java program. Java developers uses the JDBC API to make JDBC connect to the relational databases. With the help of JDBC api developers can query database, add data, update data and even delete the data from database very easily.
JDBC different versions
1). The JDBC 1.0 API.
2). The JDBC 1.2 API.
3). The JDBC 2.0 Optional Package API.
4). The JDBC 2.1 core API.
5) The JDBC 3.0 API.
6) The JDBC 4.0 API.
Let's get started with the JDBC tutorials.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.