If you have not yet read it, you are advised you read the JDBC API
Documentation (supplied with Oracle's JDK) and the JDBC Specification.
Both are available from http://www.oracle.com/technetwork/java/javase/jdbc/index.html.
https://www.light-pg.com/documents.html.