Chapter 3. Initializing the Driver

Table of Contents

Importing JDBC
Loading the Driver
Connecting to the Database
Connection Parameters

This section describes how to load and initialize the JDBC driver in your programs.

Any source that uses JDBC needs to import the java.sql package, using:

import java.sql.*;