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
jdbc:postgresql://YUGABYTE-SERVER-IP:5433/postgres

3 Likes

Here is a short tutorial as well to get a very simple app going against YugaByte DB using JDBC drivers: Develop applications | YugabyteDB Docs

1 Like