Class BatchResult

java.lang.Object
com.ibatis.sqlmap.engine.execution.BatchResult
All Implemented Interfaces:
Serializable

public class BatchResult extends Object implements Serializable
This class holds the statement and row information for every successful batch executed by iBATIS.
Author:
Jeff Butler
See Also:
  • Constructor Details

    • BatchResult

      public BatchResult(String statementId, String sql)
      Instantiates a new batch result.
      Parameters:
      statementId - the statement id
      sql - the sql
  • Method Details

    • getSql

      public String getSql()
      Gets the sql.
      Returns:
      the sql
    • 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

      public String getStatementId()
      Gets the statement id.
      Returns:
      the statement id