CPSC 343 Database Theory and Practice Fall 2020

JDBC Local Quick Start

This document is intended to describe the local environment for working with JDBC in CPSC 343. Refer to the Java Tutorial for information on using JDBC.


Contents


Setup

JDBC is an API for connecting to a database. You need a connector for your particular database in order to be able to use it.

Once you have the JDBC connector, you'll need to add it to the build path of every Java project that connects to a database. In Eclipse:

You will need to do this each time you create a new project.


Valid HTML 4.01!