All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.orm.session.SqlPerformerStrategy Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
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(SqlSelectQuery sqlSelectQuery, ResultSetReader rse) throws OrmException ;

	int update(String sql, int timeout, Object... args) throws OrmException;
	
	int update(String sql, int timeout, GeneratedKeyReader generatedKeyReader, Object... args) throws OrmException;

	int[] batchUpdate(List sqls, int timeout) throws OrmException;

	int[] batchUpdate(String sql, List args, int timeout) throws OrmException;

	int[] batchUpdate(String sql, PreparedStatementCreator psc, int timeout) throws OrmException;
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy