File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -1766,14 +1766,11 @@ public class C3P0DataSourceFactory extends UnpooledDataSourceFactory {
1766
1766
configuration elements, we’re ready to define our mapped SQL
1767
1767
statements. But first, we need to tell MyBatis where to find them.
1768
1768
Java doesn’t really provide any good means of auto-discovery in
1769
- this
1770
- regard, so the best way to do it is to simply tell MyBatis
1771
- where to
1772
- find the mapping files. You can use class path relative
1773
- resource
1774
- references, or literal, fully qualified url references
1775
- (including
1776
- <code >file:///</code > URLs). For example:
1769
+ this regard, so the best way to do it is to simply tell MyBatis
1770
+ where to find the mapping files. You can use class path relative
1771
+ resource references, fully qualified url references
1772
+ (including <code >file:///</code > URLs), class names or package names.
1773
+ For example:
1777
1774
</p >
1778
1775
<source ><![CDATA[ <!-- Using classpath relative resources -->
1779
1776
<mappers>
@@ -1803,8 +1800,7 @@ public class C3P0DataSourceFactory extends UnpooledDataSourceFactory {
1803
1800
1804
1801
<p >
1805
1802
These statement simply tell MyBatis where to go from here. The
1806
- rest of
1807
- the details are in each of the SQL Mapping files, and that’s
1803
+ rest of the details are in each of the SQL Mapping files, and that’s
1808
1804
exactly what the next section will discuss.
1809
1805
</p >
1810
1806
</subsection >
You can’t perform that action at this time.
0 commit comments