executeBatch メソッド (ISQLServerPreparedStatement)
実行するコマンド バッチをデータベースに送信します。すべてのコマンドが正常に実行されている場合は、更新数の配列が返されます。
構文
public int[] executeBatch()
戻り値
更新数を含む int 配列です。
例外
java.sql.BatchUpdateException
解説
executeBatch メソッドは、java.sql.Statement インターフェイスの executeBatch メソッドで規定されています。
このメソッドは、SQLServerStatement クラスで見つかる executeBatch メソッドをオーバーライドします。
参照
リファレンス
SQLServerPreparedStatement クラス