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

jianglongtao 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 2298e78  Fix shardingsphere-jdbc-quick-start (#13742)
2298e78 is described below

commit 2298e7887d3d03660aa8b0cc2a38418bdc352807
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Nov 22 22:53:54 2021 +0800

    Fix shardingsphere-jdbc-quick-start (#13742)
---
 docs/document/content/quick-start/shardingsphere-jdbc-quick-start.cn.md | 2 +-
 docs/document/content/quick-start/shardingsphere-jdbc-quick-start.en.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/docs/document/content/quick-start/shardingsphere-jdbc-quick-start.cn.md 
b/docs/document/content/quick-start/shardingsphere-jdbc-quick-start.cn.md
index 59796f3..7fcd065 100644
--- a/docs/document/content/quick-start/shardingsphere-jdbc-quick-start.cn.md
+++ b/docs/document/content/quick-start/shardingsphere-jdbc-quick-start.cn.md
@@ -27,5 +27,5 @@ ShardingSphere-JDBC 可以通过 `Java`,`YAML`,`Spring 命名空间`和 `Spr
 该对象实现自 JDBC 的标准 DataSource 接口,可用于原生 JDBC 开发,或使用 JPA, Hibernate, MyBatis 等 ORM 
类库。
 
 ```java
-DataSource dataSource = 
ShardingSphereDataSourceFactory.createDataSource(dataSourceMap, configurations, 
properties);
+DataSource dataSource = 
ShardingSphereDataSourceFactory.createDataSource(schemaName, modeConfig, 
dataSourceMap, ruleConfigs, props);
 ```
diff --git 
a/docs/document/content/quick-start/shardingsphere-jdbc-quick-start.en.md 
b/docs/document/content/quick-start/shardingsphere-jdbc-quick-start.en.md
index 98570da..20fd84d 100644
--- a/docs/document/content/quick-start/shardingsphere-jdbc-quick-start.en.md
+++ b/docs/document/content/quick-start/shardingsphere-jdbc-quick-start.en.md
@@ -28,5 +28,5 @@ Use `ShardingSphereDataSourceFactory` and rule configurations 
to create `Shardin
 It can be used for native JDBC or JPA, Hibernate, MyBatis and other ORM 
frameworks.
 
 ```java
-DataSource dataSource = 
ShardingSphereDataSourceFactory.createDataSource(dataSourceMap, configurations, 
properties);
+DataSource dataSource = 
ShardingSphereDataSourceFactory.createDataSource(schemaName, modeConfig, 
dataSourceMap, ruleConfigs, props);
 ```

Reply via email to