PostgreSQL JDBC Driver
The official JDBC driver for PostgreSQL® — pure Java, JDBC 4.2.

The official JDBC driver for PostgreSQL® — pure Java, JDBC 4.2.
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.11</version>
</dependency>implementation("org.postgresql:postgresql:42.7.11")Security release: caps SCRAM PBKDF2 iterations (CVE-2026-42198). Adds require_auth, fixes cursor fetching after BEGIN, SSL fallback/timeout handling, COPY hang on IOException, and more.
Every tunable the driver exposes — defaults, types, versions.
Non-default settings worth turning on in production.
Install pgJDBC and connect to PostgreSQL.
Choose sslmode, set up trust, and enable channel binding.
HikariCP, Tomcat JDBC, c3p0, and related tuning.
Troubleshooting pages keyed by error message and symptom.