This is an automated email from the ASF dual-hosted git repository.

menghaoran 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 ee59f10  fix sharding-raw-jdbc-example (#10573)
ee59f10 is described below

commit ee59f1044b3af1f96d4008508cce6e605fb1185e
Author: Raigor <[email protected]>
AuthorDate: Mon May 31 13:08:33 2021 +0800

    fix sharding-raw-jdbc-example (#10573)
---
 .../example/sharding/raw/jdbc/YamlConfigurationExampleMain.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlConfigurationExampleMain.java
 
b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlConfigurationExampleMain.java
index a015a3d..af035af 100644
--- 
a/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlConfigurationExampleMain.java
+++ 
b/examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/sharding/raw/jdbc/YamlConfigurationExampleMain.java
@@ -32,7 +32,7 @@ import java.sql.SQLException;
  */
 public final class YamlConfigurationExampleMain {
     
-    private static ShardingType shardingType = 
ShardingType.SHARDING_READWRITE_SPLITTING;
+    private static ShardingType shardingType = ShardingType.SHARDING_DATABASES;
 //    private static ShardingType shardingType = ShardingType.SHARDING_TABLES;
 //    private static ShardingType shardingType = 
ShardingType.SHARDING_DATABASES_AND_TABLES;
 //    private static ShardingType shardingType = 
ShardingType.READWRITE_SPLITTING;

Reply via email to