11th October 2018: PostgreSQL 11 RC 1 Released!
Unsupported versions: 6.5

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.