Drivers and ORMs
Connect applications with your database
Applications connect to and interact with YugabyteDB using API client libraries (also known as client drivers). Because the YugabyteDB YSQL API is PostgreSQL-compatible, and the YCQL API has roots in the Apache Cassandra CQL, YugabyteDB supports many third-party drivers.
In addition to the compatible upstream PostgreSQL drivers, YugabyteDB also supports smart drivers, which extend the PostgreSQL drivers to enable client applications to connect to YugabyteDB clusters without the need for external load balancers.
Choose your language
Supported libraries
The following libraries are officially supported by YugabyteDB.
Version | Support Level | Example apps | |
---|---|---|---|
Drivers | |||
YugabyteDB JDBC Smart Driver [Recommended] |
42.3.5-yb-3 | Full | CRUD |
PostgreSQL JDBC Driver | 42.3.4 | Full | CRUD |
Vert.x Pg Client | 4.3.2 | Full | CRUD |
YugabyteDB Java Driver for YCQL | 3.10.3-yb-2 | Full | CRUD |
YugabyteDB Java Driver for YCQL | 4.15.0-yb-1 | Full | CRUD |
ORMs | |||
Ebean | 13.23.0 | Full | CRUD |
Hibernate | 5.4.19 | Full | CRUD |
Spring Data YugabyteDB | 2.3.0 | Full | CRUD |
Spring Data JPA | 2.6.3 | Full | CRUD |
MyBatis | 3.5.9 | Full | CRUD |
Driver | Version | Support Level | Example apps |
---|---|---|---|
libpq C Driver | 5.11 | Full | CRUD |
Driver | Version | Support Level | Example apps |
---|---|---|---|
libpqxx C++ Driver | Full | CRUD | |
YugabyteDB C++ Driver for YCQL | 2.9.0-yb-10 | Full | CRUD |
Driver | Version | Support Level | Example apps |
---|---|---|---|
YugabyteDB Java Driver for YCQL | 3.10.3-yb-2 | Full | CRUD |