Skip to content

Commit

Permalink
Update Apache ShardingSphere to 5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
linghengqian committed Jul 29, 2023
1 parent f09f416 commit 827bdc4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- nest-sample 嵌套切换数据源使用示例
- quartz-sample 多数据源集成quartz示例
- shardingsphere-jdbc-4.x-spring-sample 集成 ShardingSphere JDBC Spring Boot Starter 4.1.1 使用示例, 不再维护, 参考 https://github.com/apache/shardingsphere/releases/tag/5.0.0-alpha
- shardingsphere-jdbc-5.x-core-sample 集成 ShardingSphere JDBC Driver 5.3.2 使用示例
- shardingsphere-jdbc-5.x-core-sample 集成 ShardingSphere JDBC Driver 5.4.0 使用示例
- shardingsphere-jdbc-5.x-spring-sample 集成 ShardingSphere JDBC Spring Boot Starter 5.2.1 使用示例, 不再维护, 参考 https://github.com/apache/shardingsphere/issues/22469
- spel-sample 动态从外部参数spel来切换数据源的使用示例
- tx-local-sample 本地事务示例项目★★★★★★必看★★★★★★
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<artifactId>shardingsphere-jdbc-5.x-core-sample</artifactId>

<properties>
<shardingsphere.version>5.3.2</shardingsphere.version>
<shardingsphere.version>5.4.0</shardingsphere.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ rules:
- !READWRITE_SPLITTING
dataSources:
baomidou-readwrite-data-sources:
staticStrategy:
writeDataSourceName: shardingmaster
readDataSourceNames:
- shardingslave0
- shardingslave1
writeDataSourceName: shardingmaster
readDataSourceNames:
- shardingslave0
- shardingslave1
loadBalancerName: baomidou-load-balance-algorithm
loadBalancers:
baomidou-load-balance-algorithm:
Expand Down

0 comments on commit 827bdc4

Please sign in to comment.