All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.ibatis.executor.BatchResult Maven / Gradle / Ivy

There is a newer version: 3.0-beta-10
Show newest version
package org.apache.ibatis.executor;

import org.apache.ibatis.mapping.MappedStatement;

public class BatchResult {

  private final MappedStatement mappedStatement;
  private final String sql;
  private final Object parameterObject;

  private int[] updateCounts;

  public BatchResult(MappedStatement mappedStatement, String sql, Object parameterObject) {
    super();
    this.mappedStatement = mappedStatement;
    this.sql = sql;
    this.parameterObject = parameterObject;
  }

  public MappedStatement getMappedStatement() {
    return mappedStatement;
  }

  public String getSql() {
    return sql;
  }

  public Object getParameterObject() {
    return parameterObject;
  }

  public int[] getUpdateCounts() {
    return updateCounts;
  }

  public void setUpdateCounts(int[] updateCounts) {
    this.updateCounts = updateCounts;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy