JDBC is an application programming interface (API) that enables Java applications working with relational databases in a standard way. JDBC acts as an abstraction layer between Java application and the database, allowing programmers to write Java code once and run that code on different databases without modifying the code - only JDBC driver needs to be changed.

The JDBC API is part of Java SE so you don't have to import any external libraries to use. Just import interfaces and classes from the two packages java.sql and javax.sql. The latest version is JDBC 4.3 which is included in Java SE 9 or newer.

 

Prerequisites for JDBC Programming:

 

Fundamental JDBC Tutorials:

 

Making Connection to a specific database:

 

Apache Derby (JavaDB) Tutorials:

 

Advanced JDBC Tutorials:

 

Miscellaneous JDBC Tutorials:

 

Other Tutorials that are based on JDBC:

 

JDBC Tutorial Videos:

Like to learn following videos? Check this playlist on YouTube: Java Database Programming with JDBC



 

JDBC References:


About the Author:

is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on Facebook and watch his Java videos you YouTube.