com.ibatis.sqlmap.engine.execution
Class SqlExecutor.Batch

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.execution.SqlExecutor.Batch
Enclosing class:
SqlExecutor

private static class SqlExecutor.Batch
extends java.lang.Object


Field Summary
private  java.lang.String currentSql
           
private static int EXECUTE_FAILED
           
private  int size
           
private  java.util.List statementList
           
private static int SUCCESS_NO_INFO
           
 
Constructor Summary
SqlExecutor.Batch()
           
 
Method Summary
 void addBatch(RequestScope request, java.sql.Connection conn, java.lang.String sql, java.lang.Object[] parameters)
           
 void cleanupBatch()
           
 int executeBatch()
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentSql

private java.lang.String currentSql

statementList

private java.util.List statementList

size

private int size

SUCCESS_NO_INFO

private static final int SUCCESS_NO_INFO
See Also:
Constant Field Values

EXECUTE_FAILED

private static final int EXECUTE_FAILED
See Also:
Constant Field Values
Constructor Detail

SqlExecutor.Batch

public SqlExecutor.Batch()
Method Detail

getSize

public int getSize()

addBatch

public void addBatch(RequestScope request,
                     java.sql.Connection conn,
                     java.lang.String sql,
                     java.lang.Object[] parameters)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

executeBatch

public int executeBatch()
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

cleanupBatch

public void cleanupBatch()