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 c57cf368233 Update _index.cn.md (#31295)
c57cf368233 is described below
commit c57cf368233dd4cada03ae6862ec6b843f700225
Author: LJ <[email protected]>
AuthorDate: Sun May 19 15:58:49 2024 +0800
Update _index.cn.md (#31295)
Optimize docs
---
docs/document/content/faq/_index.cn.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/document/content/faq/_index.cn.md
b/docs/document/content/faq/_index.cn.md
index b2d43bbd7b4..7b7fa362efb 100644
--- a/docs/document/content/faq/_index.cn.md
+++ b/docs/document/content/faq/_index.cn.md
@@ -16,12 +16,12 @@ chapter = true
### [JDBC] Oracle 表名、字段名配置大小写在加载 `metadata` 元数据时结果不正确?
回答:
-需要注意,Oracle 表名和字段名,默认元数据都是大写,除非建表语句中带双引号,如 `CREATE TABLE "TableName"("Id"
number)` 元数据为双引号中内容,可参考以下SQL查看元数据的具体情况:
+需要注意,Oracle 表名和字段名,默认元数据都是大写,除非建表语句中带双引号,如 `CREATE TABLE "TableName"("Id"
number)` 元数据为双引号中内容,可参考以下 SQL 查看元数据的具体情况:
```sql
SELECT OWNER, TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM ALL_TAB_COLUMNS WHERE
TABLE_NAME IN ('TableName')
```
ShardingSphere 使用 `OracleTableMetaDataLoader` 对 Oracle
元数据进行加载,配置时需确保表名、字段名的大小写配置与数据库中的一致。
-ShardingSphere 查询元数据关键SQL:
+ShardingSphere 查询元数据关键 SQL:
```java
private String getTableMetaDataSQL(final Collection<String> tables, final
DatabaseMetaData metaData) throws SQLException {
StringBuilder stringBuilder = new StringBuilder(28);