亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? statementwrapper.java

?? jsp數據庫系統
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/*
   Copyright (C) 2004 MySQL AB
   
      This program is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published by
      the Free Software Foundation; either version 2 of the License, or
      (at your option) any later version.
   
      This program is distributed in the hope that it will be useful,
      but WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      GNU General Public License for more details.
   
      You should have received a copy of the GNU General Public License
      along with this program; if not, write to the Free Software
      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
      
 */
package com.mysql.jdbc.jdbc2.optional;

import com.mysql.jdbc.SQLError;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;


/**
 * Wraps statements so that errors can be reported correctly to 
 * ConnectionEventListeners.
 *
 * @author Mark Matthews
 * 
 * @version $Id: StatementWrapper.java,v 1.1.2.1 2004/02/13 17:55:30 mmatthew Exp $
 */
class StatementWrapper extends WrapperBase implements Statement {
    protected Statement wrappedStmt;

    protected StatementWrapper(MysqlPooledConnection conn, Statement toWrap) {
        this.pooledConnection = conn;
        this.wrappedStmt = toWrap;
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getConnection()
     */
    public Connection getConnection() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getConnection();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return null; // we actually never get here, but the compiler can't figure 

        // that out
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#setCursorName(java.lang.String)
     */
    public void setCursorName(String name) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                this.wrappedStmt.setCursorName(name);
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#setEscapeProcessing(boolean)
     */
    public void setEscapeProcessing(boolean enable) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                this.wrappedStmt.setEscapeProcessing(enable);
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#setFetchDirection(int)
     */
    public void setFetchDirection(int direction) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                this.wrappedStmt.setFetchDirection(direction);
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getFetchDirection()
     */
    public int getFetchDirection() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getFetchDirection();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return ResultSet.FETCH_FORWARD; // we actually never get here, but the compiler can't figure 

        // that out
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#setFetchSize(int)
     */
    public void setFetchSize(int rows) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                this.wrappedStmt.setFetchSize(rows);
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getFetchSize()
     */
    public int getFetchSize() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getFetchSize();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return 0; // we actually never get here, but the compiler can't figure 

        // that out
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getGeneratedKeys()
     */
    public ResultSet getGeneratedKeys() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getGeneratedKeys();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return null; // we actually never get here, but the compiler can't figure 

        // that out
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#setMaxFieldSize(int)
     */
    public void setMaxFieldSize(int max) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                this.wrappedStmt.setMaxFieldSize(max);
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getMaxFieldSize()
     */
    public int getMaxFieldSize() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getMaxFieldSize();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return 0; // we actually never get here, but the compiler can't figure 

        // that out
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#setMaxRows(int)
     */
    public void setMaxRows(int max) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                this.wrappedStmt.setMaxRows(max);
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getMaxRows()
     */
    public int getMaxRows() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getMaxRows();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return 0; // we actually never get here, but the compiler can't figure 

        // that out
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getMoreResults()
     */
    public boolean getMoreResults() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getMoreResults();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return false;
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getMoreResults(int)
     */
    public boolean getMoreResults(int current) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getMoreResults(current);
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return false;
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#setQueryTimeout(int)
     */
    public void setQueryTimeout(int seconds) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                this.wrappedStmt.setQueryTimeout(seconds);
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getQueryTimeout()
     */
    public int getQueryTimeout() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getQueryTimeout();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return 0;
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getResultSet()
     */
    public ResultSet getResultSet() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getResultSet();
            } else {
                throw new SQLException("Statement already closed",
                    SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return null;
    }

    /* (non-Javadoc)
     * @see java.sql.Statement#getResultSetConcurrency()
     */
    public int getResultSetConcurrency() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return this.wrappedStmt.getResultSetConcurrency();
            } else {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲无线码一区二区三区| 亚洲亚洲精品在线观看| 色哟哟一区二区| 久久99精品国产| 一区二区三区在线观看动漫| 久久影院午夜论| 精品视频色一区| av一区二区久久| 国产老女人精品毛片久久| 丝袜脚交一区二区| 亚洲男人的天堂在线观看| 国产喂奶挤奶一区二区三区| 欧美一区二区三区人| 色婷婷av一区二区三区gif| 国产福利精品一区二区| 日本va欧美va精品发布| 亚洲图片一区二区| 亚洲欧洲一区二区三区| 久久日韩粉嫩一区二区三区| 日韩一区二区在线免费观看| 欧美高清一级片在线| 91久久久免费一区二区| 风流少妇一区二区| 久久99精品国产麻豆婷婷| 天使萌一区二区三区免费观看| 最新高清无码专区| 欧美激情一区二区| 久久欧美中文字幕| 精品国产制服丝袜高跟| 日韩美一区二区三区| 51午夜精品国产| 欧美日韩1区2区| 欧美色国产精品| 欧美午夜寂寞影院| 欧美日韩一区视频| 欧美日韩免费观看一区二区三区| 在线免费一区三区| 91免费版在线看| 91毛片在线观看| 日本韩国欧美一区| 欧美艳星brazzers| 欧美日韩一区二区三区视频| 欧美日韩精品系列| 91精品啪在线观看国产60岁| 欧美一区二区免费观在线| 日韩小视频在线观看专区| 51久久夜色精品国产麻豆| 91精品久久久久久久91蜜桃| 日韩欧美资源站| 精品美女被调教视频大全网站| 欧美tk—视频vk| 久久久亚洲欧洲日产国码αv| 久久久91精品国产一区二区三区| 国产三级精品视频| 国产精品国产三级国产三级人妇| 综合中文字幕亚洲| 亚洲成人精品影院| 九九九久久久精品| 成人免费观看av| 色综合天天综合| 久久久久国产精品麻豆| 国产精品视频九色porn| 一区二区三区日韩欧美| 日韩电影在线一区二区| 久草中文综合在线| 成人天堂资源www在线| 色妞www精品视频| 欧美福利视频一区| 久久久久九九视频| 樱花草国产18久久久久| 久久精品国内一区二区三区| 成人网在线播放| 欧美日韩免费不卡视频一区二区三区| 欧美不卡视频一区| 国产精品久久毛片av大全日韩| 亚洲午夜精品在线| 国产精品一线二线三线精华| 一本色道久久综合亚洲精品按摩 | 在线观看一区日韩| 欧美一区二区播放| 国产精品久久毛片av大全日韩| 午夜伦欧美伦电影理论片| 国产成人aaa| 欧美色倩网站大全免费| 久久久久久亚洲综合| 亚洲高清视频中文字幕| 国产成人综合视频| 在线播放亚洲一区| 国产精品久线在线观看| 麻豆91在线看| 色婷婷综合久久久久中文一区二区| 日韩视频一区二区三区| 中文字幕字幕中文在线中不卡视频| 日本亚洲欧美天堂免费| 91丨九色porny丨蝌蚪| 欧美电视剧免费全集观看| 亚洲视频精选在线| 国内精品嫩模私拍在线| 欧美日韩精品欧美日韩精品一| 国产精品看片你懂得| 久久99久久精品欧美| 色爱区综合激月婷婷| 国产亚洲精品免费| 麻豆久久一区二区| 在线亚洲+欧美+日本专区| 中文子幕无线码一区tr| 麻豆一区二区在线| 欧美日韩国产电影| 国产精品成人免费在线| 国产在线日韩欧美| 9191成人精品久久| 亚洲一区二区三区影院| 99久久精品免费| 久久久久久久综合狠狠综合| 亚洲成人av一区二区| 99久久99久久精品免费观看 | 欧美视频一区在线观看| 国产精品美女久久久久aⅴ国产馆| 激情综合色播五月| 在线播放欧美女士性生活| 一级日本不卡的影视| 91女人视频在线观看| 中文字幕一区二区日韩精品绯色| 国产一区二区在线视频| 精品女同一区二区| 亚洲国产乱码最新视频| 色综合天天做天天爱| 亚洲色图在线播放| aaa国产一区| 国产精品第四页| 成人丝袜18视频在线观看| 久久精品免费在线观看| 精品在线你懂的| 欧美精品一区二区三区高清aⅴ| 天堂va蜜桃一区二区三区| 欧美三级日本三级少妇99| 亚洲综合免费观看高清在线观看 | 久久亚洲综合色一区二区三区| 青青草原综合久久大伊人精品| 欧美一区午夜视频在线观看 | av不卡一区二区三区| 1024成人网| 一本色道久久综合狠狠躁的推荐| 亚洲欧洲www| 在线亚洲+欧美+日本专区| 亚洲国产一区二区三区| 这里只有精品电影| 麻豆一区二区99久久久久| 久久久亚洲精品一区二区三区| 国产精品456露脸| 中文av一区二区| 色94色欧美sute亚洲13| 亚洲18色成人| 日韩精品一区二区三区四区| 国产精品88888| 亚洲日穴在线视频| 欧美日韩精品一区二区三区四区| 免费xxxx性欧美18vr| 国产日韩影视精品| 99re这里只有精品首页| 亚洲va欧美va国产va天堂影院| 日韩一区二区三区电影| 国产成人综合自拍| 亚洲日本在线视频观看| 在线播放91灌醉迷j高跟美女| 韩国精品在线观看| 国产精品久久久久精k8| 精品视频一区二区不卡| 韩国成人精品a∨在线观看| 国产精品萝li| 欧美男人的天堂一二区| 国产福利精品导航| 亚洲图片欧美视频| 久久久美女艺术照精彩视频福利播放| 99re热视频这里只精品| 天堂精品中文字幕在线| 国产精品情趣视频| 在线播放中文字幕一区| 国产.欧美.日韩| 午夜影院在线观看欧美| 国产无一区二区| 3atv一区二区三区| 成人av电影在线观看| 青娱乐精品视频在线| 日韩毛片精品高清免费| 精品国产一区二区亚洲人成毛片| 色婷婷一区二区三区四区| 国精品**一区二区三区在线蜜桃| 亚洲日本一区二区三区| 久久久久久久久久久久电影 | 亚洲精品成人悠悠色影视| 日韩精品一区二区三区三区免费| 97精品久久久午夜一区二区三区| 日本欧美在线看| 亚洲天堂av一区| 久久久久久免费| 91精品国产色综合久久不卡电影 | 久久精品一区八戒影视| 在线亚洲高清视频| 懂色av噜噜一区二区三区av|