isqldatasource.java.svn-base

来自「一个timesheet程序,用来统计开发人员的度量衡web在线程序.用于软件行业」· SVN-BASE 代码 · 共 23 行

SVN-BASE
23
字号
package com.nsi.persistence;

import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.List;
import java.util.Map;

import com.nsi.control.exceptions.NsiEventException;

public interface IsqlDataSource
{
	List<Map<String,String>> executeSQLstmt(Statement stmt, String sSql) throws Exception, SQLException;
	List<Map<String,String>> executeStoredProc(CallableStatement cstmt) throws Exception, SQLException;
	List<Map<String,String>> executeRetrieve(Connection conn, String sSql) throws Exception, SQLException;
	Map<String,String> retrieveSingleRow(Connection conn, String sSql) throws Exception, SQLException;
	int executeUpdate(Statement stmt, String sSql) throws Exception, SQLException;
	Connection getConnection() throws Exception, SQLException;
	Connection getConnection(String type) throws Exception, SQLException;
	void closeConn(Connection conn) throws NsiEventException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?