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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? preparedstatementwrapper.java

?? jsp數(shù)據(jù)庫(kù)系統(tǒng)
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/*
   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.io.InputStream;
import java.io.Reader;

import java.math.BigDecimal;

import java.net.URL;

import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.ParameterMetaData;
import java.sql.PreparedStatement;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Time;
import java.sql.Timestamp;

import java.util.Calendar;


/**
 * Wraps prepared statements so that errors can be reported correctly to 
 * ConnectionEventListeners.
 *
 * @author Mark Matthews
 * 
 * @version $Id: PreparedStatementWrapper.java,v 1.1.2.1 2004/02/13 17:55:30 mmatthew Exp $
 */
class PreparedStatementWrapper extends StatementWrapper
    implements PreparedStatement {
    PreparedStatementWrapper(MysqlPooledConnection conn,
        PreparedStatement toWrap) {
        super(conn, toWrap);
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setArray(int, java.sql.Array)
     */
    public void setArray(int parameterIndex, Array x) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setArray(parameterIndex,
                    x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setAsciiStream(int, java.io.InputStream, int)
     */
    public void setAsciiStream(int parameterIndex, InputStream x, int length)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setAsciiStream(parameterIndex,
                    x, length);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setBigDecimal(int, java.math.BigDecimal)
     */
    public void setBigDecimal(int parameterIndex, BigDecimal x)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setBigDecimal(parameterIndex,
                    x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setBinaryStream(int, java.io.InputStream, int)
     */
    public void setBinaryStream(int parameterIndex, InputStream x, int length)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setBinaryStream(parameterIndex,
                    x, length);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setBlob(int, java.sql.Blob)
     */
    public void setBlob(int parameterIndex, Blob x) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setBlob(parameterIndex, x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setBoolean(int, boolean)
     */
    public void setBoolean(int parameterIndex, boolean x)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setBoolean(parameterIndex,
                    x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setByte(int, byte)
     */
    public void setByte(int parameterIndex, byte x) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setByte(parameterIndex, x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setBytes(int, byte[])
     */
    public void setBytes(int parameterIndex, byte[] x)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setBytes(parameterIndex,
                    x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setCharacterStream(int, java.io.Reader, int)
     */
    public void setCharacterStream(int parameterIndex, Reader reader, int length)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setCharacterStream(parameterIndex,
                    reader, length);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setClob(int, java.sql.Clob)
     */
    public void setClob(int parameterIndex, Clob x) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setClob(parameterIndex, x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setDate(int, java.sql.Date)
     */
    public void setDate(int parameterIndex, Date x) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setDate(parameterIndex, x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setDate(int, java.sql.Date, java.util.Calendar)
     */
    public void setDate(int parameterIndex, Date x, Calendar cal)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setDate(parameterIndex,
                    x, cal);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setDouble(int, double)
     */
    public void setDouble(int parameterIndex, double x)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setDouble(parameterIndex,
                    x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setFloat(int, float)
     */
    public void setFloat(int parameterIndex, float x) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setFloat(parameterIndex,
                    x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setInt(int, int)
     */
    public void setInt(int parameterIndex, int x) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setInt(parameterIndex, x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setLong(int, long)
     */
    public void setLong(int parameterIndex, long x) throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setLong(parameterIndex, x);
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#getMetaData()
     */
    public ResultSetMetaData getMetaData() throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                return ((PreparedStatement) this.wrappedStmt).getMetaData();
            } else {
                throw new SQLException("No operations allowed after statement closed",
                    SQLError.SQL_STATE_GENERAL_ERROR);
            }
        } catch (SQLException sqlEx) {
            checkAndFireConnectionError(sqlEx);
        }

        return null;
    }

    /* (non-Javadoc)
     * @see java.sql.PreparedStatement#setNull(int, int)
     */
    public void setNull(int parameterIndex, int sqlType)
        throws SQLException {
        try {
            if (this.wrappedStmt != null) {
                ((PreparedStatement) this.wrappedStmt).setNull(parameterIndex,

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区在线视频观看| 日本免费新一区视频| 亚洲欧洲成人av每日更新| 欧美不卡激情三级在线观看| 欧美一二三区在线| 欧美一级久久久久久久大片| 欧美一区二区三区精品| 欧美一级片在线观看| 欧美一区二区在线免费播放| 91精品国产福利在线观看 | 欧美日韩精品一区二区| 欧美性高清videossexo| 欧美日韩在线三区| 91精品国产aⅴ一区二区| 欧美电视剧免费全集观看| 精品美女一区二区三区| 久久久久久夜精品精品免费| 国产欧美精品一区aⅴ影院| 国产精品久久午夜夜伦鲁鲁| 日韩一区中文字幕| 亚洲成人av福利| 热久久久久久久| 国产精品538一区二区在线| 成人毛片老司机大片| 91美女在线视频| 51精品久久久久久久蜜臀| 91精品国产91久久久久久一区二区 | 亚洲v中文字幕| 美女网站色91| 国产成人综合自拍| 色诱亚洲精品久久久久久| 91国模大尺度私拍在线视频| 欧美日韩在线精品一区二区三区激情 | 欧美性高清videossexo| 日韩欧美在线观看一区二区三区| 精品福利一二区| 亚洲免费色视频| 免费欧美高清视频| 丁香天五香天堂综合| 在线观看视频一区| 日韩欧美一级片| 国产精品久久影院| 日韩精品成人一区二区在线| 狠狠色丁香婷婷综合久久片| av激情亚洲男人天堂| 91精品国产综合久久久久| 国产欧美日韩视频在线观看| 亚洲国产乱码最新视频 | 欧美色区777第一页| 日韩女优av电影| 亚洲精品伦理在线| 另类小说一区二区三区| 99久久夜色精品国产网站| 欧美老年两性高潮| 日本一区二区视频在线观看| 亚洲成av人片| 成人理论电影网| 欧美哺乳videos| 亚洲午夜av在线| 成人黄色一级视频| 日韩视频免费观看高清在线视频| 国产精品免费久久久久| 欧美96一区二区免费视频| 91蜜桃免费观看视频| 久久精品在线免费观看| 日韩成人免费在线| 99精品欧美一区二区三区小说| 日韩无一区二区| 亚洲一区二区三区中文字幕在线 | 日韩三级视频中文字幕| 亚洲色图都市小说| 日韩欧美国产精品一区| 一区二区三区在线视频免费| 国产乱码精品一区二区三区av| 欧美男同性恋视频网站| 亚洲人一二三区| 国产sm精品调教视频网站| 日韩一级二级三级| 亚洲国产精品一区二区久久恐怖片 | 久久久久综合网| 蜜臀a∨国产成人精品| 在线视频国内自拍亚洲视频| 国产精品国产三级国产普通话99 | 777午夜精品免费视频| 樱花草国产18久久久久| 成人高清视频在线| 国产三级精品在线| 国产在线播放一区三区四| 欧美一区二区三区在| 天天影视涩香欲综合网| 欧美亚洲综合久久| 一区二区三区国产| 91丨porny丨户外露出| 国产精品久久二区二区| 国产91精品精华液一区二区三区 | 亚洲色图欧美在线| 9人人澡人人爽人人精品| 国产午夜精品福利| 国产成人在线免费| 日本一区二区久久| 成人av动漫网站| 国产精品每日更新| 99精品桃花视频在线观看| 中日韩免费视频中文字幕| 国产69精品久久777的优势| 久久免费看少妇高潮| 国产精品主播直播| 国产精品区一区二区三| 国产91精品一区二区| 日本一区二区三区四区| 成人免费观看视频| 亚洲另类在线制服丝袜| 欧美综合一区二区| 日本在线不卡一区| 精品盗摄一区二区三区| 国产成人在线免费| 成人免费小视频| 91久久香蕉国产日韩欧美9色| 亚洲狠狠爱一区二区三区| 极品销魂美女一区二区三区| 亚洲一级在线观看| 亚洲国产电影在线观看| 毛片av一区二区三区| 欧美精品v国产精品v日韩精品 | 美日韩一区二区| 久久综合九色综合97_久久久| 日韩一区二区三区视频在线观看| 美女被吸乳得到大胸91| 久久久午夜电影| 一本一本大道香蕉久在线精品| 亚洲综合网站在线观看| 日韩一级免费观看| 国产aⅴ综合色| 亚洲视频在线一区观看| 欧美日韩日日骚| 国产做a爰片久久毛片| 亚洲国产精品ⅴa在线观看| 欧洲精品一区二区| 国产综合久久久久久鬼色 | 成人av一区二区三区| 一区二区三区四区不卡在线| 在线不卡免费欧美| 国产精品亚洲人在线观看| 亚洲日本va午夜在线影院| 欧美一区二区成人6969| 国产精品1024| 午夜久久久久久电影| 久久精品网站免费观看| 色8久久精品久久久久久蜜| 日韩va欧美va亚洲va久久| 国产人成亚洲第一网站在线播放| 在线一区二区观看| 国产一区二区在线观看免费| 亚洲图片你懂的| 精品美女一区二区| 欧美最猛黑人xxxxx猛交| 国产一区二区三区精品视频| 亚洲一区二区综合| 久久久国产综合精品女国产盗摄| 在线欧美一区二区| 国产成人自拍网| 婷婷综合在线观看| 中文字幕色av一区二区三区| 欧美一区二区私人影院日本| 99久久免费视频.com| 久久精品国产亚洲高清剧情介绍| 亚洲天堂a在线| 国产色产综合色产在线视频| 7777精品伊人久久久大香线蕉 | 国产69精品一区二区亚洲孕妇| 香蕉久久夜色精品国产使用方法 | 日韩精品专区在线影院重磅| av一本久道久久综合久久鬼色| 蜜桃精品在线观看| 亚洲精品视频一区二区| 久久色中文字幕| 538在线一区二区精品国产| 91在线视频18| 粉嫩蜜臀av国产精品网站| 美国av一区二区| 午夜精品久久久| 亚洲精品成人天堂一二三| 中日韩av电影| 精品国产99国产精品| 欧美乱妇20p| 欧洲国产伦久久久久久久| 99re在线精品| 丁香亚洲综合激情啪啪综合| 国产专区综合网| 国内精品国产成人国产三级粉色| 日韩高清在线电影| 亚洲成av人影院| 亚洲国产三级在线| 亚洲欧美区自拍先锋| 中文字幕日韩欧美一区二区三区| 中文字幕av免费专区久久| 久久综合色一综合色88| 精品久久久久久久久久久院品网 | 午夜精品一区二区三区电影天堂| 综合网在线视频|