org.seasar.doma.internal.jdbc.command
クラス ModifyCommand<Q extends ModifyQuery>

java.lang.Object
  上位を拡張 org.seasar.doma.internal.jdbc.command.ModifyCommand<Q>
すべての実装されたインタフェース:
Command<Integer,Q>
直系の既知のサブクラス:
DeleteCommand, InsertCommand, UpdateCommand

public abstract class ModifyCommand<Q extends ModifyQuery>
extends Object
implements Command<Integer,Q>

作成者:
taedium

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

フィールドの詳細

query

protected final Q extends ModifyQuery query

sql

protected final PreparedSql sql
コンストラクタの詳細

ModifyCommand

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

execute

public Integer execute()
定義:
インタフェース Command<Integer,Q extends ModifyQuery> 内の execute

executeInternal

protected abstract int executeInternal(PreparedStatement preparedStatement)
                                throws SQLException
例外:
SQLException

log

protected void log()

setupOptions

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

bindValues

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

executeUpdate

protected int executeUpdate(PreparedStatement preparedStatement)
                     throws SQLException
例外:
SQLException

validateRows

protected void validateRows(int rows)


Copyright © 2009 The Seasar Foundation. All Rights Reserved.