This page in other versions: Unsupported versions: 7.0

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.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group