Skip to content

Commit 149cb01

Browse files
committed
Added a few missing lines in the doc.
1 parent 1edff06 commit 149cb01

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

src/site/es/xdoc/java-api.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,13 @@ public interface ResultHandler<T> {
223223

224224
<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>
225225

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+
226233
<h5>Batch update statement Flush Method</h5>
227234
<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>
228235
<source><![CDATA[List<BatchResult> flushStatements()]]></source>

src/site/ko/xdoc/java-api.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,13 @@ public interface ResultHandler<T> {
293293

294294
<p>ResultContext파라미터는 결과 객체에 접근할 수 있도록 해준다.</p>
295295

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+
296303
<h5>배치 수정시 flush메소드</h5>
297304
<p>어떤 시점에 JDBC드라이버 클래스에 저장된 배치 수정구문을 지울(flushing(executing)) 방법이 있다.
298305
이 방법은 <code>ExecutorType</code>을 <code>ExecutorType.BATCH</code>로 설정한 경우 사용가능하다. </p>

src/site/zh/xdoc/java-api.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,13 @@ public interface ResultHandler<T> {
364364
尔返回值的 stop()方法来停止 MyBatis 加载更多的结果。
365365
</p>
366366

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>
372+
</ul>
373+
367374
<h5>批量立即更新方法(Flush Method)</h5>
368375
<p>有一个方法可以刷新(执行)存储在JDBC驱动类中的批量更新语句。当你将<code>ExecutorType.BATCH</code>作为<code>ExecutorType</code>使用时可以采用此方法。</p>
369376
<source><![CDATA[List<BatchResult> flushStatements()]]></source>

0 commit comments

Comments
 (0)