What is the compatibility of YSQL with JDBC drivers

Does YSQL (distributed Postgres in YugaByte DB) work with JDBC drivers?

Yes it works with standard Postgres JDBC driver… here’s the connection string I use with my psql client and JDBC code


Here is a short tutorial as well to get a very simple app going against YugaByte DB using JDBC drivers: https://docs.yugabyte.com/latest/develop/client-drivers/java/

1 Like