The latest version of the 2.0 version of SHARDING-JDBC, due to the need to support dynamic configuration loading, so the latest module information is as follows:
|-sharding-jdbc |-sharding-jdbc-core |-api |-constant |-exception |-executor |-hint |-jdbc |-keygen |-merger |-parsing |-rewrite |-routing |-rule |-util |-yaml |-sharding-jdbc-orchestration |-sharding-jdbc-orchestration-spring |-sharding-jdbc-spring |-sharding-jdbc-transaction-parent
The contents of each module are as follows:
- Sharding-jdbc-core: Core module, mainly includes a sub-database sub-table, read and write separation of the core content of the middleware, including rule configuration, SQL parsing, SQL rewrite, SQL routing, SQL execution, result set merging and so on.
- Rule: Rules Configuration
- Parsing:sql parsing
- Rewrite:sql rewrite
- Routing:sql Routing
- Executor:sql execution
- Merger: Result set Merging
- Jdbc:jdbc Rewrite, the core of the project
- KEYGEN: Distributed ID generation
- Sharding-jdbc-orchestration: Dynamic configuration, Configuration center of some action content
- Sharding-jdbc-orchestration-spring: Spring configuration of the configuration center, including parsing of some spring and spring-boot configuration files
- SHARDING-JDBC-SPRING:SHARDING-JDBC Spring and Spring-boot configuration content Parser
- Sharding-jdbc-transaction-parent: Flexible Transaction related content
SHARDING-JDBC module Analysis of "Source code parsing"