Features

Sharding

Sharding

Perfect SQL parsing, rewriting and merging engine, which support aggregation, grouping, sorting, paging and join

Flexible sharding strategy, which support =, BETWEEN, IN and customized sharding strategy

Supports Hint-based sharding

Read/Write Splitting

Read/Write Splitting

Support one master and multiple slaves for the read and write splitting

Hint-based forced master routing

B.A.S.E Transaction

B.A.S.E Transaction

Best Effort Delivery

Try Confirm Cancel(TBD)

Distributed Sequence

Distributed Sequence

Built-in distributed sequence generator

Customized distributed sequence generator

Compatibility with JDBC

Configuration

Configuration

Java configuration

Customized spring namespace

YAML configuration

Inline expression

Compatibility

Compatibility

Suitable for any java ORM frameworks, such as: JPA, Hibernate, Mybatis or JDBC directly

Suitable for any database connection pool, such as: DBCP, C3P0, BoneCP, etc

Support MySQL, Oracle, SQLServer and PostgreSQL

Community

Please leave your company's info when using Sharding-JDBC Company + Website