Skip to content

Commit e6d8c8c

Browse files
committed
Merge pull request #163 from dave-r12/master
Fixes for getting started docs
2 parents 4643ade + 42dd0a9 commit e6d8c8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/site/xdoc/getting-started.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
SqlSessionFactory. A SqlSessionFactory instance can be acquired by
5454
using the SqlSessionFactoryBuilder. SqlSessionFactoryBuilder can
5555
build a SqlSessionFactory instance from an XML configuration file,
56-
of from a custom prepared instance of the Configuration class.
56+
or from a custom prepared instance of the Configuration class.
5757
</p>
5858
<p>
5959
Building a SqlSessionFactory instance from an XML file is very
@@ -161,7 +161,7 @@ SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(confi
161161
SQL commands against
162162
the database. You can execute mapped SQL statements directly against
163163
the SqlSession instance. For
164-
exmaple:
164+
example:
165165
</p>
166166
<source><![CDATA[SqlSession session = sqlSessionFactory.openSession();
167167
try {
@@ -358,7 +358,7 @@ public interface BlogMapper {
358358
the best scope is request or method scope. Never keep references to
359359
a SqlSession instance in a static field or even an instance field
360360
of a class. Never keep references to a SqlSession in any sort of
361-
managed scope, such as HttpSession of of the Servlet framework. If
361+
managed scope, such as HttpSession of the Servlet framework. If
362362
you're using a web framework of any sort, consider the SqlSession
363363
to follow a similar scope to that of an HTTP request. In other
364364
words, upon receiving an HTTP request, you can open a SqlSession,

0 commit comments

Comments
 (0)