Skip to content

Commit 29f8709

Browse files
committed
typo!
1 parent f34cafa commit 29f8709

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/site/xdoc/sqlmap-xml.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,8 +1680,9 @@ public class User {
16801680
<subsection name="Auto-mapping">
16811681

16821682
<p>
1683-
As you have already seen in the previous sections in simple cases MyBatis can auto-map the results for you and in others you
1684-
will need to build a result map. But as you will see in this section you can also mix both strategies.
1683+
As you have already seen in the previous sections, in simple cases MyBatis can auto-map the results for you
1684+
and in others you will need to build a result map.
1685+
But as you will see in this section you can also mix both strategies.
16851686
Let's have a deeper look at how auto-mapping works.
16861687
</p>
16871688

@@ -1753,7 +1754,7 @@ public class User {
17531754
</resultMap>]]></source>
17541755

17551756
<p>
1756-
With this result map both <i>Blog</i> and <i>Author</i> will be auto-mapped. But note that <i>Author</i> has an <i>id</i>
1757+
With this result map both <i>Blog</i> and <i>Author</i> will be auto-mapped. But note that <i>Author</i> has a <i>id</i>
17571758
property and there is an column named <i>id</i> in the ResultSet so Author's id will be filled with Blog's id, and that is not
17581759
what you were expecting. So use the <code>FULL</code> option with caution.
17591760
</p>

0 commit comments

Comments
 (0)