Drivers and ORMs
Connect applications to YugabyteDB using your favorite language.
Connect applications to YugabyteDB databases using Yugabyte-supported drivers, ORMs, and application development frameworks.
YugabyteDB smart language drivers enable client applications to connect to YugabyteDB clusters without the need for external load balancers. YugabyteDB smart drivers have the following features:
- Cluster-aware. Drivers know about all the data nodes in a YugabyteDB cluster, which eliminates the need for an external load balancer.
- Topology-aware. For geographically-distributed applications, the driver can seamlessly connect to the geographically nearest regions and availability zones for lower latency.
All YugabyteDB smart driver libraries are actively maintained, and receive bug fixes, performance enhancements, and security patches.
Along with the smart drivers, YugabyteDB also supports upstream PostgreSQL drivers for the respective programming languages.
Supported libraries
The following libraries are officially supported by YugabyteDB.
Java
| Name (* Recommended) | Type | Support | Example |
|---|---|---|---|
| YugabyteDB JDBC Smart Driver* | Smart Driver | Full | CRUD |
| PostgreSQL JDBC Driver | Driver | Full | CRUD |
| Hibernate | ORM | Full | CRUD |
| Spring Data YugabyteDB | Framework | Full | CRUD |
| Spring Data JPA | Framework | Full | CRUD |
Go
| Name (* Recommended) | Type | Support | Example |
|---|---|---|---|
| PGX* | Driver | Full | CRUD |
| PQ | Driver | Full | CRUD |
| GORM | ORM | Full | CRUD |
| PG | ORM | Full | CRUD |
Node.js
| Name | Type | Support | Example |
|---|---|---|---|
| node-postgres | Driver | Full | CRUD |
| Sequelize | ORM | Full | CRUD |
C#
| Name | Type | Support | Example |
|---|---|---|---|
| Npgsql | Driver | Full | CRUD |
| EntityFramework | ORM | Full | CRUD |
Python
| Name (* Recommended) | Type | Support | Example |
|---|---|---|---|
| Yugabyte Psycopg2* | Smart Driver | Full | CRUD |
| PostgreSQL Psycopg2 | Driver | Full | CRUD |
| aiopg | Driver | Full | Quick Start |
| Django | ORM | Full | CRUD |
| SQLAlchemy | ORM | Full | CRUD |