📄 isqldatasource.java
字号:
package com.air.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.air.exceptions.AirException;
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;
void closeConn(Connection conn) throws AirException;
boolean isExist(Connection conn, String sSql)throws Exception, SQLException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -