java-textbook

Java Database Connectivity (JDBC)

The Java Database Connectivity (JDBC) interface is a toolkit for managing connections between your Java code and a database. We will be using JDBC to connect our Java programs to a lightweight SQLite database.

Set up the SQLite JDBC driver

Follow the steps to install and set up the SQLite JDBC driver on your local environment.

SQLite JDBC sample code

Resources