Unsupported versions: 6.4
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

Importing JDBC

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

import java.sql.*;

Important: Do not import the postgresql package. If you do, your source will not compile, as javac will get confused.