Skip to content

Commit

Permalink
Small doc addition. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
emacarron committed Mar 18, 2014
1 parent 6a9d1b9 commit 2e49ae0
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/site/xdoc/configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1766,14 +1766,11 @@ public class C3P0DataSourceFactory extends UnpooledDataSourceFactory {
configuration elements, we’re ready to define our mapped SQL
statements. But first, we need to tell MyBatis where to find them.
Java doesn’t really provide any good means of auto-discovery in
this
regard, so the best way to do it is to simply tell MyBatis
where to
find the mapping files. You can use class path relative
resource
references, or literal, fully qualified url references
(including
<code>file:///</code> URLs). For example:
this regard, so the best way to do it is to simply tell MyBatis
where to find the mapping files. You can use class path relative
resource references, fully qualified url references
(including <code>file:///</code> URLs), class names or package names.
For example:
</p>
<source><![CDATA[<!-- Using classpath relative resources -->
<mappers>
Expand Down Expand Up @@ -1803,8 +1800,7 @@ public class C3P0DataSourceFactory extends UnpooledDataSourceFactory {

<p>
These statement simply tell MyBatis where to go from here. The
rest of
the details are in each of the SQL Mapping files, and that’s
rest of the details are in each of the SQL Mapping files, and that’s
exactly what the next section will discuss.
</p>
</subsection>
Expand Down

0 comments on commit 2e49ae0

Please sign in to comment.