⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbmgrinterface.java

📁 大象购物管理程序
💻 JAVA
字号:
package com.comm.db;

import java.sql.*;
import java.util.*;

import javax.sql.*;

import com.comm.*;
import com.comm.vo.*;

public interface DBMgrInterface {
    public void setDatasource(DataSource ds) throws AppException;

    public void begin() throws SQLException;

    public void commit() throws SQLException;

    public void rollback() throws SQLException;

    public Connection getConnection() throws SQLException;

    public int execute(String sql, Vector param) throws SQLException;

    public int execute(String sql, Vector param
                       , Connection conn) throws SQLException;

    public int[] executeBatch(String sql, Vector param) throws SQLException;

    public int[] executeBatch(Vector sqls) throws SQLException;

    public int[] executeBatch(Vector sqls, Connection conn) throws SQLException;

    public int[] executeBatch(String sql, Vector params
                              , Connection conn) throws SQLException;

    public int execute(String sql) throws SQLException;

    public Vector getResult(String sql, Vector param) throws SQLException;

    public Vector getResult(String sql) throws SQLException;

    public ListVO getResult(String sql, Vector param
                            , ListVO lvo) throws SQLException;

    public int getRowCount(String sqlStr, Vector param) throws SQLException;

    public int getRowCount(String sqlStr) throws SQLException;

    public String toOracleDarkString(String s);

    public String toOracleString(String number);

    public Object toOracleString(Object object);

    public String toOracleDarkString(Object object);

    public String getSQLString(Vector v);

    public String getSQLInt(Vector v);

    public Vector convertResultset(ResultSet rs) throws
            SQLException;

}

⌨️ 快捷键说明

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