Skip to content

Commit 5f11d7d

Browse files
authored
Merge pull request #3069 from YouChuanlong/fix/typos
docs: fix typos in the markdown
2 parents d75595e + 34121cf commit 5f11d7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/site/markdown/java-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The rest of the examples in this section will assume you're following this direc
4646

4747
### SqlSessions
4848

49-
The primary Java interface for working with MyBatis is the SqlSession. Through this interface you can execute commands, get mappers and manage transactions. We'll talk more about SqlSession itself shortly, but first we have to learn how to acquire an instance of SqlSession. SqlSessions are created by a SqlSessionFactory instance. The SqlSessionFactory contains methods for creating instances of SqlSessions all different ways. The SqlSessionFactory itself is created by the SqlSessionFactoryBuilder that can create the SqlSessonFactory from XML, annotations or hand coded Java configuration.
49+
The primary Java interface for working with MyBatis is the SqlSession. Through this interface you can execute commands, get mappers and manage transactions. We'll talk more about SqlSession itself shortly, but first we have to learn how to acquire an instance of SqlSession. SqlSessions are created by a SqlSessionFactory instance. The SqlSessionFactory contains methods for creating instances of SqlSessions all different ways. The SqlSessionFactory itself is created by the SqlSessionFactoryBuilder that can create the SqlSessionFactory from XML, annotations or hand coded Java configuration.
5050

5151
<span class="label important">NOTE</span> When using MyBatis with a dependency injection framework like Spring or Guice, SqlSessions are created and injected by the DI framework so you don't need to use the SqlSessionFactoryBuilder or SqlSessionFactory and can go directly to the SqlSession section. Please refer to the MyBatis-Spring or MyBatis-Guice manuals for further info.
5252

src/site/markdown/logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ If you want to tune the logging at a finer level you can turn logging on for spe
114114
</logger>
115115
```
116116

117-
By the contrary you may want want to enable logging for a group of mappers. In that case you should add as a logger the root package where your mappers reside:
117+
By the contrary you may want to enable logging for a group of mappers. In that case you should add as a logger the root package where your mappers reside:
118118

119119
```xml
120120
<logger name="org.mybatis.example">

0 commit comments

Comments
 (0)