com.jpattern.orm.session.NullSqlPerformerStrategy Maven / Gradle / Ivy
package com.jpattern.orm.session;
import java.util.List;
import com.jpattern.orm.exception.OrmException;
/**
*
* @author Francesco Cina'
*
* Dec 20, 2011
*/
public class NullSqlPerformerStrategy implements ISqlPerformerStrategy {
@Override
public void execute(String sql, int timeout) throws OrmException {
}
@Override
public T query(SqlSelectQuery sqlSelectQuery, IResultSetReader rse) throws OrmException {
return null;
}
@Override
public int update(String sql, int timeout, Object... args) throws OrmException {
return 0;
}
@Override
public int update(String sql, int timeout, IGeneratedKeyReader generatedKeyReader, Object... args) throws OrmException {
return 0;
}
@Override
public int[] batchUpdate(List sqls, int timeout) throws OrmException {
return new int[0];
}
@Override
public int[] batchUpdate(String sql, List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy