Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 818 Bytes

use.md

File metadata and controls

32 lines (23 loc) · 818 Bytes
layout title header resource previoustitle previous nexttitle next
default_docs
Chapter 3. Initializing the Driver
Chapter 3. Initializing the Driver
media
Creating a Database
your-database.html
Chapter 3. Loading the Driver
load.html

Table of Contents

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

Importing JDBC

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

import java.sql.*;

Note

You should not import the org.postgresql package unless you are not using standard PostgreSQL™ extensions to the JDBC API.