Skip to content

Commit 58d46df

Browse files
fixed typos in documentation
fixed typos in documentation
1 parent d6918e1 commit 58d46df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/site/xdoc/configuration.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
15411541
</p>
15421542

15431543
<source><![CDATA[SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader);
1544-
SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader,properties);]]></source>
1544+
SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, properties);]]></source>
15451545

15461546
<p>The environments element defines how the environment is
15471547
configured.
@@ -1841,8 +1841,8 @@ public class C3P0DataSourceFactory extends UnpooledDataSourceFactory {
18411841
MyBatis is able to execute different statements depending on your database vendor.
18421842
The multi-db vendor support is based on the mapped statements <code>databaseId</code> attribute.
18431843
MyBatis will load all statements with no <code>databaseId</code> attribute
1844-
or with a <code>databaseId</code> that matches the current one. If case the same statement
1845-
if found with and without the <code>databaseId</code> the latter will be discarded.
1844+
or with a <code>databaseId</code> that matches the current one. In case the same statement
1845+
is found with and without the <code>databaseId</code> the latter will be discarded.
18461846
To enable the multi vendor support add a <code>databaseIdProvider</code>
18471847
to mybatis-config.xml file as follows:
18481848
</p>
@@ -1888,7 +1888,7 @@ public class C3P0DataSourceFactory extends UnpooledDataSourceFactory {
18881888
statements. But first, we need to tell MyBatis where to find them.
18891889
Java doesn’t really provide any good means of auto-discovery in
18901890
this regard, so the best way to do it is to simply tell MyBatis
1891-
where to find the mapping files. You can use class path relative
1891+
where to find the mapping files. You can use classpath relative
18921892
resource references, fully qualified url references
18931893
(including <code>file:///</code> URLs), class names or package names.
18941894
For example:

0 commit comments

Comments
 (0)