Class BatchResult
java.lang.Object
com.ibatis.sqlmap.engine.execution.BatchResult
- All Implemented Interfaces:
Serializable
This class holds the statement and row information for every successful batch executed by iBATIS.
- Author:
- Jeff Butler
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBatchResult
(String statementId, String sql) Instantiates a new batch result. -
Method Summary
Modifier and TypeMethodDescriptiongetSql()
Gets the sql.Gets the statement id.int[]
Gets the update counts.void
setUpdateCounts
(int[] updateCounts) Sets the update counts.
-
Constructor Details
-
BatchResult
-
-
Method Details
-
getSql
-
getUpdateCounts
public int[] getUpdateCounts()Gets the update counts.- Returns:
- the update counts
-
setUpdateCounts
public void setUpdateCounts(int[] updateCounts) Sets the update counts.- Parameters:
updateCounts
- the new update counts
-
getStatementId
-