Skip to content

Commit 361e497

Browse files
committed
refs #493 Added a note on the doc.
1 parent 149cb01 commit 361e497

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ RowBounds rowBounds = new RowBounds(offset, limit);</source>
215215

216216
<p>El rendimiento de algunos drivers puede variar mucho en este aspecto. Para un rendimiento optimo, usa tipos de ResultSet SCROLL_SENSITIVE o SCROLL_INSENSITIVE (es decir, no FORWARD_ONLY)</p>
217217
<p>El parámetro ResultHandler te permite manejar cada fila como tú quieras. Puedes añadirla a una lista, crear un Map, un Set, o descartar cada resultado y guardar solo cálculos. Puedes hacer casi todo lo que quieras con un ResultHandler, de hecho, es lo que MyBatis usa internamente para construir listas de ResultSets.</p>
218+
<p>Since 3.4.6, ResultHandler passed to a CALLABLE statement is used on every REFCURSOR output parameter of the stored procedure if there is any.</p>
218219
<p>La interfaz es muy sencilla:</p>
219220
<source><![CDATA[package org.apache.ibatis.session;
220221
public interface ResultHandler<T> {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ RowBounds rowBounds = new RowBounds(offset, limit);</source>
216216

217217
<p>ドライバーによって得られる効果は異なります。SCROLL_SENSITIVE または SCROLL_INSENSITIVE (つまり FORWARD_ONLY 以外)の結果セットタイプを使った時、最も良いパフォーマンスが得られます。</p>
218218
<p>ResultHandler を渡すと、各行を自由に処理することができます。List に追加したり、Map や Set を作成することもできますし、結果を捨てて合計値のみを返すこともできます。ResultHandler を使えば好きな処理を行うことも可能で、MyBatis 自身も内部的に結果リストを構築するために ResultHandler を利用しています。</p>
219+
<p>3.4.6 以降では、CALLABLE ステートメントに渡された ResultHandler は、指定されたストアド・プロシージャで宣言されている REFCURSOR 型の OUT 引数全てに対して適用されます。</p>
219220
<p>ResultHandler インターフェイスは非常にシンプルです。</p>
220221
<source><![CDATA[package org.mybatis.executor.result;
221222
public interface ResultHandler<T> {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ RowBounds rowBounds = new RowBounds(offset, limit);</source>
285285
<p>ResultHandler파라미터는 레코드별로 다룰수 있도록 해준다.
286286
List에 추가할수도 있고 Map, Set을 만들수도 있으며 각각의 결과를 그냥 던질수도 있다.
287287
ResultHandler로 많은 것을 할 수 있고 마이바티스는 결과셋을 다루기 위해 내부적으로 사용한다.</p>
288+
<p>Since 3.4.6, ResultHandler passed to a CALLABLE statement is used on every REFCURSOR output parameter of the stored procedure if there is any.</p>
288289
<p>인터페이스는 매우 간단하다.</p>
289290
<source><![CDATA[package org.apache.ibatis.session;
290291
public interface ResultHandler<T> {

src/site/xdoc/java-api.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ RowBounds rowBounds = new RowBounds(offset, limit);</source>
221221

222222
<p>Different drivers are able to achieve different levels of efficiency in this regard. For the best performance, use result set types of SCROLL_SENSITIVE or SCROLL_INSENSITIVE (in other words: not FORWARD_ONLY).</p>
223223
<p>The ResultHandler parameter allows you to handle each row however you like. You can add it to a List, create a Map, Set, or throw each result away and instead keep only rolled up totals of calculations. You can do pretty much anything with the ResultHandler, and it's what MyBatis uses internally itself to build result set lists.</p>
224+
<p>Since 3.4.6, ResultHandler passed to a CALLABLE statement is used on every REFCURSOR output parameter of the stored procedure if there is any.</p>
224225
<p>The interface is very simple.</p>
225226
<source><![CDATA[package org.apache.ibatis.session;
226227
public interface ResultHandler<T> {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ Set
351351
你可以使用 ResultHandler 做很多漂亮的事,
352352
那就是 MyBatis 内部创建结果集列表。
353353
</p>
354+
<p>Since 3.4.6, ResultHandler passed to a CALLABLE statement is used on every REFCURSOR output parameter of the stored procedure if there is any.</p>
354355
<p>它的接口很简单。</p>
355356
<source><![CDATA[package org.apache.ibatis.session;
356357
public interface ResultHandler<T> {

0 commit comments

Comments
 (0)