Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.jpattern.orm.session;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import com.jpattern.orm.exception.OrmException;
import com.jpattern.orm.exception.OrmNotUniqueResultException;
/**
*
* @author Francesco Cina
*
* 02/lug/2011
*/
public class NullSqlExecutor implements SqlPerformer {
/**
*
*/
@Override
public void setMaxRows(final int maxRows) {
}
@Override
public int getMaxRows() {
return 0;
}
@Override
public void setQueryTimeout(final int queryTimeout) {
}
@Override
public int getQueryTimeout() {
return 0;
}
@Override
public void execute(final String sql) throws OrmException {
}
@Override
public T query(final String sql, final ResultSetReader rse, final Object... args) throws OrmException {
return null;
}
@Override
public int update(final String sql, final Object... args) throws OrmException {
return 0;
}
@Override
public int update(final String sql, final GeneratedKeyReader generatedKeyExtractor, final Object... args) throws OrmException {
return 0;
}
@Override
public int[] batchUpdate(final List sqls) throws OrmException {
return new int[0];
}
@Override
public int[] batchUpdate(final String sql, final List