From f33e32d7186a0f4528780bbe1bef7206a7d08ed9 Mon Sep 17 00:00:00 2001 From: awxiaoxian2020 Date: Tue, 3 May 2022 20:57:50 +0800 Subject: [PATCH 1/2] update the translations in zh doc --- src/site/zh/xdoc/configuration.xml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/site/zh/xdoc/configuration.xml b/src/site/zh/xdoc/configuration.xml index 7478da5874c..8c2ec24452b 100644 --- a/src/site/zh/xdoc/configuration.xml +++ b/src/site/zh/xdoc/configuration.xml @@ -500,7 +500,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ 指定 MyBatis 所用日志的具体实现,未指定时将自动查找。 - SLF4J | LOG4J(deprecated since 3.5.9) | LOG4J2 | JDK_LOGGING | COMMONS_LOGGING | STDOUT_LOGGING | NO_LOGGING + SLF4J | LOG4J(3.5.9 起废弃) | LOG4J2 | JDK_LOGGING | COMMONS_LOGGING | STDOUT_LOGGING | NO_LOGGING 未设置 @@ -514,7 +514,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ 指定 Mybatis 创建可延迟加载对象所用到的代理工具。 - CGLIB (deprecated since 3.5.10) | JAVASSIST + CGLIB (3.5.10 起废弃) | JAVASSIST JAVASSIST (MyBatis 3.3 以上) @@ -584,15 +584,14 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ defaultSqlProviderType - Specifies an sql provider class that holds provider method (Since 3.5.6). - This class apply to the type(or value) attribute on sql provider annotation(e.g. @SelectProvider), - when these attribute was omitted. + 指定一个拥有 provider 方法的 sql provider 类 (新增于 3.5.6). + 这个类适用于指定 sql provider 注解上的type(或 value) 属性(当这些属性在注解中被忽略时)。 (e.g. @SelectProvider) - A type alias or fully qualified class name + 类型别名或者全限定名 - Not set + 未设置 @@ -600,7 +599,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ nullableOnForEach - Specifies the default value of 'nullable' attribute on 'foreach' tag. (Since 3.5.9) + 为 'foreach' 标签的 'nullable' 属性指定默认值。(新增于 3.5.9) true | false @@ -614,7 +613,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ argNameBasedConstructorAutoMapping - When applying constructor auto-mapping, argument name is used to search the column to map instead of relying on the column order. (Since 3.5.10) + 当应用构造器自动映射时,参数名称被用来搜索要映射的列,而不再依赖列的顺序。(新增于 3.5.10) true | false @@ -1697,7 +1696,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, propert

在 MyBatis 中有两种类型的事务管理器(也就是 type="[JDBC|MANAGED]"):