Skip to content

Releases: yugabyte/pgjdbc

Yugabyte Smart JDBC Driver

26 Oct 09:28
da34948
Compare
Choose a tag to compare

This release is the first version of the Yugabyte Smart JDBC Driver. This driver is based on the PostgreSQL driver and forked from here https://github.com/pgjdbc/pgjdbc

There are 3 main addition/changes from the upstream.

  • Inbuilt load balancer: Yugabyte has added an inbuilt load balancer in the driver. It can be configured to uniformly distribute the connection load on each YugabyteDB server or it can be configured to load balance connections only on the subset of the cluster nodes based on their locations. You can find more information about the driver here:
  • Relocated Driver class and other internal classes: The Yugabyte Driver class is relocated from 'org.postgresql' package in upstream to 'com.yugabyte' in this fork.
  • Yugabyte db url: The db connection url has been changed from 'jdbc:postgresql' to 'jdbc:yugabytedb'

With the last 2 changes a postgresql upstream driver and Yugabyte's smart driver can co-exit in an application's classpath.

Documentation link: https://docs.yugabyte.com/latest/integrations/smart-driver/