Skip to content

Fix: typo #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 的注册。
2 changes: 1 addition & 1 deletion docs/Mybatis/基础支持层/Mybatis-Reflector.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down
4 changes: 2 additions & 2 deletions docs/Mybatis/核心处理层/Mybatis-DataSource.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -155,7 +155,7 @@ public class PooledDataSourceFactory extends UnpooledDataSourceFactory {

}

// 初始化
// 初始化
public PooledDataSource() {
dataSource = new UnpooledDataSource();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mybatis DyanmicSqlSourcce
# Mybatis DynamicSqlSource

- Author: [HuiFer](https://github.com/huifer)
- 源码阅读工程: [SourceHot-Mybatis](https://github.com/SourceHot/mybatis-read.git)
Expand Down Expand Up @@ -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());
// 参数放入
Expand Down
2 changes: 1 addition & 1 deletion docs/Mybatis/核心处理层/Mybatis-MethodSignature.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}

/**
* 是否uresultHandler
* 是否有 resultHandler
*
* @return
*/
Expand Down