You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/06/08 04:27:28 UTC

[shardingsphere] branch master updated: Update JDBC Driver doc (#18236)

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

duanzhengqiang 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 1d2e0924eea Update JDBC Driver doc (#18236)
1d2e0924eea is described below

commit 1d2e0924eea6330b009fe2dee718fee1b27a780f
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Jun 8 12:27:23 2022 +0800

    Update JDBC Driver doc (#18236)
---
 .../content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.cn.md    | 2 +-
 .../content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.en.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.cn.md
index 0ddd6de3893..36b59e13c9f 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.cn.md
@@ -25,7 +25,7 @@ ShardingSphere-JDBC 提供了 JDBC 驱动,可以仅通过配置变更即可使
 #### 使用原生驱动
 
 ```java
-Class.forName("org.apache.shardingsphere.driver.ShardingSphereDriver"); // 或者使用标准 SPI 注册数据库驱动
+Class.forName("org.apache.shardingsphere.driver.ShardingSphereDriver");
 String jdbcUrl = "jdbc:shardingsphere:classpath:config.yaml";
 
 String sql = "SELECT i.* FROM t_order o JOIN t_order_item i ON o.order_id=i.order_id WHERE o.user_id=? AND o.order_id=?";
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.en.md
index 2cda73ed22a..48c4d610972 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/jdbc-driver/_index.en.md
@@ -25,7 +25,7 @@ ShardingSphere-JDBC provides JDBC driver, it permits user using ShardingSphere b
 #### Native Driver Usage
 
 ```java
-Class.forName("org.apache.shardingsphere.driver.ShardingSphereDriver"); // Or use SPI to register database driver
+Class.forName("org.apache.shardingsphere.driver.ShardingSphereDriver");
 String jdbcUrl = "jdbc:shardingsphere:classpath:config.yaml";
 
 String sql = "SELECT i.* FROM t_order o JOIN t_order_item i ON o.order_id=i.order_id WHERE o.user_id=? AND o.order_id=?";