com.jpattern.orm.session.ISqlPerformerStrategy 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 ISqlPerformerStrategy {
void execute(String sql, int timeout) throws OrmException;
T query(SqlSelectQuery sqlSelectQuery, IResultSetReader rse) throws OrmException ;
int update(String sql, int timeout, Object... args) throws OrmException;
int update(String sql, int timeout, IGeneratedKeyReader generatedKeyReader, Object... args) throws OrmException;
int[] batchUpdate(List sqls, int timeout) throws OrmException;
int[] batchUpdate(String sql, List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy