org.seasar.extension.jdbc
インタフェース BatchHandler

既知の実装クラスの一覧:
BasicBatchHandler

public interface BatchHandler

バッチ更新のためのインターフェースです。

作成者:
higa

メソッドの概要
 int execute(List list)
          複数のデータをバッチ更新します。
 int execute(List list, Class[] argTypes)
          複数のデータをバッチ更新します。
 

メソッドの詳細

execute

public int execute(List list)
            throws SQLRuntimeException
複数のデータをバッチ更新します。

パラメータ:
list - 複数のデータ
戻り値:
更新したデータの数
例外:
SQLRuntimeException - SQL例外が発生した場合

execute

public int execute(List list,
                   Class[] argTypes)
            throws SQLRuntimeException
複数のデータをバッチ更新します。

パラメータ:
list - 複数のデータ
argTypes - 引数のタイプ
戻り値:
更新したデータの数
例外:
SQLRuntimeException - SQL例外が発生した場合


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.