select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 6.5
Historical version. PostgreSQL 6.5 reached end of support in June 2004. See the current manual for supported releases.

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.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.