You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ki...@apache.org on 2020/09/02 06:31:09 UTC
[shardingsphere] branch master updated: fix
sharding-spring-boot-mybatis-example (#7214)
This is an automated email from the ASF dual-hosted git repository.
kimmking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new d1da4cd fix sharding-spring-boot-mybatis-example (#7214)
d1da4cd is described below
commit d1da4cd1693a988f6df0e187ccaa4edf31417184
Author: Yanjie Zhou <zh...@aliyun.com>
AuthorDate: Wed Sep 2 14:30:49 2020 +0800
fix sharding-spring-boot-mybatis-example (#7214)
---
.../src/main/resources/application-master-slave.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-master-slave.properties b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-master-slave.properties
index 7fc4719..e330adb 100644
--- a/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-master-slave.properties
+++ b/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example/src/main/resources/application-master-slave.properties
@@ -28,7 +28,7 @@ spring.shardingsphere.datasource.ds_slave_0.jdbc-url=jdbc:mysql://localhost:3306
spring.shardingsphere.datasource.ds_slave_1.jdbc-url=jdbc:mysql://localhost:3306/demo_ds_slave_1?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8
-spring.shardingsphere.rules.master-slave.load-balancers.round_robin.type=ROUND_ROB
+spring.shardingsphere.rules.master-slave.load-balancers.round_robin.type=ROUND_ROBIN
spring.shardingsphere.rules.master-slave.data-sources.ds_ms.master-data-source-name=ds_master
spring.shardingsphere.rules.master-slave.data-sources.ds_ms.slave-data-source-names=ds_slave_0,ds_slave_1
spring.shardingsphere.rules.master-slave.data-sources.ds_ms.load-balancer-name=round_robin