fix: typo (#171)
* fix typos * fix typo in filename of Mybatis-DynamicSqlSource.md * fix typo in filename of Mybatis-GenericTokenParser.md * replace tab with 4 spaces
This commit is contained in:
parent
8686aa0f24
commit
10962ca469
@ -156,14 +156,14 @@
|
||||
- [Mybatis-Alias](/docs/Mybatis/核心处理层/Mybatis-Alias.md)
|
||||
- [Mybatis-Cursor](/docs/Mybatis/核心处理层/Mybatis-Cursor.md)
|
||||
- [Mybatis-DataSource](/docs/Mybatis/核心处理层/Mybatis-DataSource.md)
|
||||
- [Mybatis-DyanmicSqlSourcce](/docs/Mybatis/核心处理层/Mybatis-DyanmicSqlSourcce.md)
|
||||
- [Mybatis-DynamicSqlSource](/docs/Mybatis/核心处理层/Mybatis-DynamicSqlSource.md)
|
||||
- [Mybatis-MapperMethod](/docs/Mybatis/核心处理层/Mybatis-MapperMethod.md)
|
||||
- [Mybatis-MetaObject](/docs/Mybatis/核心处理层/Mybatis-MetaObject.md)
|
||||
- [Mybatis-MethodSignature](/docs/Mybatis/核心处理层/Mybatis-MethodSignature.md)
|
||||
- [Mybatis-ObjectWrapper](/docs/Mybatis/核心处理层/Mybatis-ObjectWrapper.md)
|
||||
- [Mybatis-ParamNameResolver](/docs/Mybatis/核心处理层/Mybatis-ParamNameResolver.md)
|
||||
- [Mybatis-SqlCommand](/docs/Mybatis/核心处理层/Mybatis-SqlCommand.md)
|
||||
- [Mybats-GenericTokenParser](/docs/Mybatis/核心处理层/Mybats-GenericTokenParser.md)
|
||||
- [Mybatis-GenericTokenParser](/docs/Mybatis/核心处理层/Mybatis-GenericTokenParser.md)
|
||||
|
||||
## Netty
|
||||
|
||||
|
@ -576,4 +576,4 @@ TypeHandlerRegistry 其实就是一个容器,前面注册了一堆东西,也
|
||||
}
|
||||
```
|
||||
|
||||
除了 Mabatis 本身自带的 TypeHandler 实现,我们还可以添加自定义的 TypeHandler 实现类,在配置文件 mybatis-config.xml 中的 <typeHandler> 标签下配置好 自定义 TypeHandler,Mybatis 就会在初始化时解析该标签内容,完成 自定义 TypeHandler 的注册。
|
||||
除了 Mybatis 本身自带的 TypeHandler 实现,我们还可以添加自定义的 TypeHandler 实现类,在配置文件 mybatis-config.xml 中的 <typeHandler> 标签下配置好 自定义 TypeHandler,Mybatis 就会在初始化时解析该标签内容,完成 自定义 TypeHandler 的注册。
|
||||
|
@ -213,7 +213,7 @@ class HfReflectorTest {
|
||||
Map<String, Method> uniqueMethods = new HashMap<>();
|
||||
Class<?> currentClass = clazz;
|
||||
while (currentClass != null && currentClass != Object.class) {
|
||||
// getDeclaredMethods 获取 public ,private , protcted 方法
|
||||
// getDeclaredMethods 获取 public ,private , protected 方法
|
||||
addUniqueMethods(uniqueMethods, currentClass.getDeclaredMethods());
|
||||
|
||||
// we also need to look for interface methods -
|
||||
|
@ -133,7 +133,7 @@ public class JndiDataSourceFactory implements DataSourceFactory {
|
||||
## PooledDataSource
|
||||
|
||||
```java
|
||||
protected int poolMaximumActiveConnections = 10;
|
||||
protected int poolMaximumActiveConnections = 10;
|
||||
protected int poolMaximumIdleConnections = 5;
|
||||
protected int poolMaximumCheckoutTime = 20000;
|
||||
protected int poolTimeToWait = 20000;
|
||||
@ -155,7 +155,7 @@ public class PooledDataSourceFactory extends UnpooledDataSourceFactory {
|
||||
|
||||
}
|
||||
|
||||
// 初始化
|
||||
// 初始化
|
||||
public PooledDataSource() {
|
||||
dataSource = new UnpooledDataSource();
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Mybatis DyanmicSqlSourcce
|
||||
# Mybatis DynamicSqlSource
|
||||
|
||||
- Author: [HuiFer](https://github.com/huifer)
|
||||
- 源码阅读工程: [SourceHot-Mybatis](https://github.com/SourceHot/mybatis-read.git)
|
||||
@ -257,7 +257,7 @@ public class StaticTextSqlNode implements SqlNode {
|
||||
Statement stmt;
|
||||
// 数据库连接
|
||||
Connection connection = getConnection(statementLog);
|
||||
// stms 创建
|
||||
// stmt 创建
|
||||
// org.apache.ibatis.executor.statement.BaseStatementHandler.prepare
|
||||
stmt = handler.prepare(connection, transaction.getTimeout());
|
||||
// 参数放入
|
@ -90,7 +90,7 @@
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否uresultHandler
|
||||
* 是否有 resultHandler
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user