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

tools.c3p0.database.DatabaseAccessInterface Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy