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/java-api.xml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -223,6 +223,13 @@ public interface ResultHandler<T> {
223
223
224
224
<p>El parámetro ResultContext te da acceso al objeto resultado en sí mismo, un contador del número de objetos creados y un método booleano stop() que te permite indicar a MyBatis que pare la carga de datos.</p>
225
225
226
+
<p>Using a ResultHandler has two limitations that you should be aware of:</p>
227
+
228
+
<ul>
229
+
<li>Data got from an method called with a ResultHandler will not be cached.</li>
230
+
<li>When using advanced resultmaps MyBatis will probably require several rows to build an object. If a ResultHandler is used you may be given an object whose associations or collections are not yet filled.</li>
231
+
</ul>
232
+
226
233
<h5>Batch update statement Flush Method</h5>
227
234
<p>There is method for flushing(executing) batch update statements that stored in a JDBC driver class at any timing. This method can be used when you use the <code>ExecutorType.BATCH</code> as <code>ExecutorType</code>.</p>
Copy file name to clipboardExpand all lines: src/site/ko/xdoc/java-api.xml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -293,6 +293,13 @@ public interface ResultHandler<T> {
293
293
294
294
<p>ResultContext파라미터는 결과 객체에 접근할 수 있도록 해준다.</p>
295
295
296
+
<p>Using a ResultHandler has two limitations that you should be aware of:</p>
297
+
298
+
<ul>
299
+
<li>Data got from an method called with a ResultHandler will not be cached.</li>
300
+
<li>When using advanced resultmaps MyBatis will probably require several rows to build an object. If a ResultHandler is used you may be given an object whose associations or collections are not yet filled.</li>
301
+
</ul>
302
+
296
303
<h5>배치 수정시 flush메소드</h5>
297
304
<p>어떤 시점에 JDBC드라이버 클래스에 저장된 배치 수정구문을 지울(flushing(executing)) 방법이 있다.
298
305
이 방법은 <code>ExecutorType</code>을 <code>ExecutorType.BATCH</code>로 설정한 경우 사용가능하다. </p>
Copy file name to clipboardExpand all lines: src/site/zh/xdoc/java-api.xml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -364,6 +364,13 @@ public interface ResultHandler<T> {
364
364
尔返回值的 stop()方法来停止 MyBatis 加载更多的结果。
365
365
</p>
366
366
367
+
<p>Using a ResultHandler has two limitations that you should be aware of:</p>
368
+
369
+
<ul>
370
+
<li>Data got from an method called with a ResultHandler will not be cached.</li>
371
+
<li>When using advanced resultmaps MyBatis will probably require several rows to build an object. If a ResultHandler is used you may be given an object whose associations or collections are not yet filled.</li>
0 commit comments