org.seasar.doma.internal.jdbc.command
クラス BatchModifyCommand<Q extends BatchModifyQuery>

java.lang.Object
  上位を拡張 org.seasar.doma.internal.jdbc.command.BatchModifyCommand<Q>
すべての実装されたインタフェース:
Command<int[],Q>
直系の既知のサブクラス:
BatchDeleteCommand, BatchInsertCommand, BatchUpdateCommand

public abstract class BatchModifyCommand<Q extends BatchModifyQuery>
extends Object
implements Command<int[],Q>

作成者:
taedium

フィールドの概要
protected  Q query
           
 
コンストラクタの概要
BatchModifyCommand(Q query)
           
 
メソッドの概要
protected  void bindParameters(PreparedStatement preparedStatement, PreparedSql sql)
           
 int[] execute()
           
protected  int[] executeBatch(PreparedStatement preparedStatement, List<PreparedSql> sqls)
           
protected  int[] executeBatch(PreparedStatement preparedStatement, PreparedSql sql)
           
protected abstract  int[] executeInternal(PreparedStatement preparedStatement, List<PreparedSql> sqls)
           
protected  void log(PreparedSql sql)
           
protected  void setupOptions(PreparedStatement preparedStatement)
           
protected  void validateRows(PreparedStatement preparedStatement, PreparedSql sql, int[] rows)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

query

protected final Q extends BatchModifyQuery query
コンストラクタの詳細

BatchModifyCommand

public BatchModifyCommand(Q query)
メソッドの詳細

execute

public int[] execute()
定義:
インタフェース Command<int[],Q extends BatchModifyQuery> 内の execute

executeInternal

protected abstract int[] executeInternal(PreparedStatement preparedStatement,
                                         List<PreparedSql> sqls)
                                  throws SQLException
例外:
SQLException

setupOptions

protected void setupOptions(PreparedStatement preparedStatement)
                     throws SQLException
例外:
SQLException

executeBatch

protected int[] executeBatch(PreparedStatement preparedStatement,
                             List<PreparedSql> sqls)
                      throws SQLException
例外:
SQLException

executeBatch

protected int[] executeBatch(PreparedStatement preparedStatement,
                             PreparedSql sql)
                      throws SQLException
例外:
SQLException

log

protected void log(PreparedSql sql)

bindParameters

protected void bindParameters(PreparedStatement preparedStatement,
                              PreparedSql sql)
                       throws SQLException
例外:
SQLException

validateRows

protected void validateRows(PreparedStatement preparedStatement,
                            PreparedSql sql,
                            int[] rows)
                     throws SQLException
例外:
SQLException


Copyright © 2009 The Seasar Foundation. All Rights Reserved.