cn.tom.db.jdbc.DBOperations Maven / Gradle / Ivy
package cn.tom.db.jdbc;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
public abstract class DBOperations {
public abstract int execute(String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract int insert(String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract int insert(Connection conn, String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract int update(Connection conn, String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract int update(String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract T queryForObject(String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract T queryForObject(String paramString, Class paramClass, Object... paramArrayOfObject) throws SQLException;
public abstract T queryForObject(Connection conn ,String paramString, Class paramClass, Object... paramArrayOfObject) throws SQLException;
public abstract Long queryForLong(String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract Integer queryForInt(String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract String queryForString(String paramString, Object... paramArrayOfObject) throws SQLException;
public abstract List queryForList(String paramString, Class paramClass, Object... paramArrayOfObject) throws SQLException;
public abstract List queryForList(Connection conn, String paramString, Class paramClass, Object... paramArrayOfObject) throws SQLException;
public abstract List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy