com.jpattern.orm.session.SqlPerformerStrategy 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 interface SqlPerformerStrategy {
void execute(String sql, int timeout) throws OrmException;
T query(String sql, int timeout, int maxRows, final PreparedStatementSetter pss, ResultSetReader rse) throws OrmException ;
int update(String sql, int timeout, final PreparedStatementSetter pss) throws OrmException;
int update(String sql, int timeout, GeneratedKeyReader generatedKeyReader, final PreparedStatementSetter pss) throws OrmException;
int[] batchUpdate(List sqls, int timeout) throws OrmException;
int[] batchUpdate(String sql, List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy