Spring-boot2X based sharding-jdbc3X part table and warehouses

ShardingSphere is a set of open source middleware solutions for distributed database consisting of the ecosystem, which consists of Sharding-JDBC, Sharding-Proxy and Sharding-Sidecar (plan) this 3 independent product composition. They both provide standardized data partitioning, database and distributed transaction management features, such as Java can be applied to homogeneous and heterogeneous language, native cloud and other diverse application scenarios.

ShardingSphere positioned as a relational database middleware, designed to fully rational use of computing and storage capabilities of relational databases in a distributed scenario, rather than implement a new relational database.

Sharding-JDBC

Positioned as a lightweight Java framework, additional services provided by Java's JDBC layer. It uses direct client database, provide services in the form of jar package, without additional deployment and dependence, understood as enhanced version of the JDBC driver, JDBC and is fully compatible with all kinds of ORM frameworks.

  • For any Java-based ORM framework, such as: JPA, Hibernate, Mybatis, Spring JDBC Template or directly using JDBC.
  • Based on any third party database connection pool, such as: DBCP, C3P0, BoneCP, Druid, HikariCP like.
  • Support any implementation database JDBC specification. Currently supports MySQL, Oracle, SQLServer and PostgreSQL.

 

 

 

 

https://www.duckerkj.cn/springboot-2-x-shardingsphere%E5%88%86%E5%BA%93%E5%88%86%E8%A1%A8%E5%AE%9E%E6%88%98/

https://www.jianshu.com/p/fedf84869721

https://shardingsphere.apache.org/document/legacy/3.x/document/cn/manual/sharding-jdbc/usage/sharding/

https://blog.csdn.net/u010391342/article/details/89526366

https://blog.csdn.net/weixin_34261415/article/details/91953858

 

Guess you like

Origin www.cnblogs.com/baby123/p/11607958.html