You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/es/xdoc/mappers.xml
+10-1
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
133
133
<p>
134
134
<spanclass="label important">IMPORTANT</span> If use the lazy initialization feature,
135
135
the developer need to understand following limitations. If any of following conditions are matches,
136
-
the lazy initialization feature cannot use on your application.
136
+
usually the lazy initialization feature cannot use on your application.
137
137
</p>
138
138
<ul>
139
139
<li>When refers to the statement of <b>other mapper</b> using <code><![CDATA[<association>]]></code>(<code>@One</code>) and <code><![CDATA[<collection>]]></code>(<code>@Many</code>)</li>
@@ -142,6 +142,15 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
142
142
<li>When refers to the result mapping of <b>other mapper</b> using <code><![CDATA[<select resultMap="...">]]></code>(<code>@ResultMap</code>)</li>
143
143
</ul>
144
144
145
+
<p>
146
+
<spanclass="label important">NOTE</span> However, It become possible to use it by simultaneously initializing dependent beans using <code>@DependsOn</code>(Spring's feature) as follow:
<li><code><![CDATA[<association>]]></code>(<code>@One</code>) and <code><![CDATA[<collection>]]></code>(<code>@Many</code>)を利用して、<b>他のMapperの</b>ステートメントを参照している場合</li>
@@ -129,6 +129,16 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
Copy file name to clipboardExpand all lines: src/site/ko/xdoc/mappers.xml
+10-1
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
109
109
<p>
110
110
<spanclass="label important">IMPORTANT</span> If use the lazy initialization feature,
111
111
the developer need to understand following limitations. If any of following conditions are matches,
112
-
the lazy initialization feature cannot use on your application.
112
+
usually the lazy initialization feature cannot use on your application.
113
113
</p>
114
114
<ul>
115
115
<li>When refers to the statement of <b>other mapper</b> using <code><![CDATA[<association>]]></code>(<code>@One</code>) and <code><![CDATA[<collection>]]></code>(<code>@Many</code>)</li>
@@ -118,6 +118,15 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
118
118
<li>When refers to the result mapping of <b>other mapper</b> using <code><![CDATA[<select resultMap="...">]]></code>(<code>@ResultMap</code>)</li>
119
119
</ul>
120
120
121
+
<p>
122
+
<spanclass="label important">NOTE</span> However, It become possible to use it by simultaneously initializing dependent beans using <code>@DependsOn</code>(Spring's feature) as follow:
123
+
</p>
124
+
125
+
<source><![CDATA[@DependsOn("vendorMapper")
126
+
public interface GoodsMapper {
127
+
// ...
128
+
}]]></source>
129
+
121
130
<h4><mybatis:scan/></h4>
122
131
123
132
<p><code><mybatis:scan/></code> XML엘리먼트는 스프링에서 제공하는 <code><context:component-scan/></code> 엘리먼트와 매우 유사한 방법으로 매퍼를 검색할 것이다. </p>
Copy file name to clipboardExpand all lines: src/site/xdoc/mappers.xml
+11-2
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
136
136
<p>
137
137
<spanclass="label important">IMPORTANT</span> If use the lazy initialization feature,
138
138
the developer need to understand following limitations. If any of following conditions are matches,
139
-
the lazy initialization feature cannot use on your application.
139
+
usually the lazy initialization feature cannot use on your application.
140
140
</p>
141
141
<ul>
142
142
<li>When refers to the statement of <b>other mapper</b> using <code><![CDATA[<association>]]></code>(<code>@One</code>) and <code><![CDATA[<collection>]]></code>(<code>@Many</code>)</li>
@@ -145,6 +145,15 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
145
145
<li>When refers to the result mapping of <b>other mapper</b> using <code><![CDATA[<select resultMap="...">]]></code>(<code>@ResultMap</code>)</li>
146
146
</ul>
147
147
148
+
<p>
149
+
<spanclass="label important">NOTE</span> However, It become possible to use it by simultaneously initializing dependent beans using <code>@DependsOn</code>(Spring's feature) as follow:
150
+
</p>
151
+
152
+
<source><![CDATA[@DependsOn("vendorMapper")
153
+
public interface GoodsMapper {
154
+
// ...
155
+
}]]></source>
156
+
148
157
<h4><mybatis:scan/></h4>
149
158
150
159
<p>
@@ -161,7 +170,7 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
Copy file name to clipboardExpand all lines: src/site/zh/xdoc/mappers.xml
+10-1
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
117
117
<p>
118
118
<spanclass="label important">IMPORTANT</span> If use the lazy initialization feature,
119
119
the developer need to understand following limitations. If any of following conditions are matches,
120
-
the lazy initialization feature cannot use on your application.
120
+
usually the lazy initialization feature cannot use on your application.
121
121
</p>
122
122
<ul>
123
123
<li>When refers to the statement of <b>other mapper</b> using <code><![CDATA[<association>]]></code>(<code>@One</code>) and <code><![CDATA[<collection>]]></code>(<code>@Many</code>)</li>
@@ -126,6 +126,15 @@ public MapperFactoryBean<UserMapper> userMapper() throws Exception {
126
126
<li>When refers to the result mapping of <b>other mapper</b> using <code><![CDATA[<select resultMap="...">]]></code>(<code>@ResultMap</code>)</li>
127
127
</ul>
128
128
129
+
<p>
130
+
<spanclass="label important">NOTE</span> However, It become possible to use it by simultaneously initializing dependent beans using <code>@DependsOn</code>(Spring's feature) as follow:
0 commit comments