
org.apache.ibatis.executor.BatchResult Maven / Gradle / Ivy
Go to download
The MyBatis SQL mapper framework makes it easier to use a relational database with object-oriented
applications. MyBatis couples objects with stored procedures or SQL statements using a XML descriptor or
annotations. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping
tools.
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 - 2025 Weber Informatics LLC | Privacy Policy