817 B
817 B
layout, title, header, resource, previoustitle, previous, nexttitle, next
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.