Home » iBatis-2.3.4 » com.ibatis.sqlmap.engine » execution » [javadoc | source]
com.ibatis.sqlmap.engine.execution
public class: SqlExecutor [javadoc | source]
java.lang.Object
   com.ibatis.sqlmap.engine.execution.SqlExecutor
Class responsible for executing the SQL
Field Summary
public static final  int NO_SKIPPED_RESULTS    Constant to let us know not to skip anything 
public static final  int NO_MAXIMUM_RESULTS    Constant to let us know to include all records 
Method from com.ibatis.sqlmap.engine.execution.SqlExecutor Summary:
addBatch,   cleanup,   executeBatch,   executeQuery,   executeQueryProcedure,   executeUpdate,   executeUpdateProcedure
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.ibatis.sqlmap.engine.execution.SqlExecutor Detail:
 public  void addBatch(RequestScope request,
    Connection conn,
    String sql,
    Object[] parameters) throws SQLException 
    Adds a statement to a batch
 public  void cleanup(SessionScope session) 
    Clean up any batches on the session
 public int executeBatch(SessionScope session) throws SQLException 
    Execute a batch of statements
 public  void executeQuery(RequestScope request,
    Connection conn,
    String sql,
    Object[] parameters,
    int skipResults,
    int maxResults,
    RowHandlerCallback callback) throws SQLException 
    Long form of the method to execute a query
 public  void executeQueryProcedure(RequestScope request,
    Connection conn,
    String sql,
    Object[] parameters,
    int skipResults,
    int maxResults,
    RowHandlerCallback callback) throws SQLException 
    Execute a stored procedure
 public int executeUpdate(RequestScope request,
    Connection conn,
    String sql,
    Object[] parameters) throws SQLException 
    Execute an update
 public int executeUpdateProcedure(RequestScope request,
    Connection conn,
    String sql,
    Object[] parameters) throws SQLException 
    Execute a stored procedure that updates data