tools.c3p0.database.DatabaseAccessInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-autotest-tool Show documentation
Show all versions of java-autotest-tool Show documentation
This is an integration of autotest tools
package tools.c3p0.database;
/**
* Created by zhengyu06 on 2017/9/12
*/
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;
@SuppressWarnings("rawtypes")
public interface DatabaseAccessInterface {
public ResultSet executeQueryStmt(String sql) throws SQLException;
public int executeUpdateStmt(String sql) throws SQLException;
public void printRS() throws SQLException;
public String getSpecificVal(String fieldName) throws SQLException;
public Map getSpecificVal(String[] fieldGroup) throws SQLException;
public PreparedStatement createPreparedStmt(String sql)throws SQLException;
public ResultSet executeQueryPreparedStmt(PreparedStatement preStmt, Object[] parameters)throws SQLException;
public int executeUpdatePreparedStmt(PreparedStatement preStmt, Object[] parameters)throws SQLException;
public ResultSet getRSForLucene(String sql) throws SQLException;
}