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

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

?? preparedstatementwrapper.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.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,

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久久免费精品国产一区二区 | 一区二区三区欧美在线观看| 91亚洲精品乱码久久久久久蜜桃| 日一区二区三区| 国产毛片一区二区| 成人福利在线看| 国产精品1区二区.| 国产麻豆精品在线| 国产成人精品三级麻豆| 国产成人在线视频网址| 国产suv一区二区三区88区| 国产成人啪午夜精品网站男同| 精东粉嫩av免费一区二区三区| 另类小说图片综合网| 久久69国产一区二区蜜臀| 精品一区二区在线看| 韩国三级在线一区| 国产成人自拍网| 波多野洁衣一区| 色综合久久中文字幕| 欧美在线综合视频| 91.麻豆视频| 精品国产一区二区精华| 国产一区二区成人久久免费影院| 亚洲无人区一区| 亚洲男同性视频| 亚洲一区视频在线| 亚洲主播在线观看| 午夜电影一区二区| 一级中文字幕一区二区| 亚洲免费资源在线播放| 日韩理论电影院| 亚洲综合一区二区| 日本sm残虐另类| 亚洲午夜激情av| 亚洲国产精品一区二区www| 亚洲成人在线观看视频| 青青草97国产精品免费观看无弹窗版| 亚洲国产精品久久人人爱| 日本欧美一区二区在线观看| 69精品人人人人| 免费在线看一区| 蜜臀国产一区二区三区在线播放| 香蕉影视欧美成人| 欧美日韩日日摸| 中文字幕在线观看不卡| 99re成人精品视频| 欧美日韩久久一区二区| 久久亚洲一区二区三区明星换脸| 欧美极品少妇xxxxⅹ高跟鞋| 亚洲精品日韩综合观看成人91| 日本一区中文字幕| 成人在线视频一区| 在线播放中文字幕一区| 韩国精品一区二区| 成人免费视频视频| 91福利精品第一导航| 欧美男女性生活在线直播观看| 国产精品家庭影院| 亚洲视频香蕉人妖| 日本少妇一区二区| 欧美mv和日韩mv国产网站| 91精品国产免费| 欧美日韩一区二区三区在线| 精品国产sm最大网站免费看| 亚洲免费观看视频| 国产一区久久久| 欧美日免费三级在线| 国产精品久久久久精k8| 久久超碰97中文字幕| 91成人在线观看喷潮| 国产欧美精品在线观看| 天天色综合天天| 91亚洲国产成人精品一区二区三 | 色美美综合视频| 26uuu精品一区二区| 三级久久三级久久| 色综合天天综合网天天狠天天| 国产亚洲午夜高清国产拍精品 | 成人性生交大片免费看中文网站| 欧美区视频在线观看| 亚洲美女少妇撒尿| 99在线精品观看| 国产视频一区二区三区在线观看 | 欧美性大战久久| 亚洲福利视频一区| 午夜欧美2019年伦理| 欧美日韩专区在线| 精品亚洲免费视频| 亚洲色图欧洲色图婷婷| 成人一区二区三区视频| 久久久精品免费网站| 成人国产精品免费网站| 同产精品九九九| 91精品福利视频| 亚洲午夜久久久久久久久电影网 | 欧美videos中文字幕| 麻豆视频观看网址久久| 另类小说欧美激情| 日韩午夜在线影院| 日韩激情一区二区| 欧美一区二区视频在线观看 | 日本欧美在线观看| 乱一区二区av| 日韩成人一区二区三区在线观看| 亚洲国产精品二十页| 欧美国产1区2区| 国产91色综合久久免费分享| 久久婷婷国产综合国色天香| 韩国精品在线观看| 久久精品亚洲麻豆av一区二区| 国产美女一区二区三区| 国产亚洲一区二区在线观看| 成人深夜福利app| 中文字幕视频一区| 日本高清不卡视频| 亚洲va国产天堂va久久en| 7777女厕盗摄久久久| 美女视频免费一区| 久久久久久久久97黄色工厂| 豆国产96在线|亚洲| 中文字幕亚洲电影| 欧美日韩美少妇| 九九在线精品视频| 中文字幕在线不卡国产视频| 91免费看`日韩一区二区| 亚洲一本大道在线| 欧美成人精品福利| 成人av免费观看| 亚洲自拍偷拍网站| 欧美一区二区三区四区五区| 国产一区二区三区蝌蚪| 亚洲欧洲性图库| 欧美日本国产一区| 激情综合五月天| 国产精品国产三级国产普通话三级| 色偷偷久久人人79超碰人人澡| 午夜精品视频一区| 久久一区二区三区国产精品| 本田岬高潮一区二区三区| 亚洲mv在线观看| 久久亚洲一区二区三区明星换脸| 91一区在线观看| 美国毛片一区二区三区| 亚洲国产经典视频| 91麻豆精品在线观看| 欧美日韩视频一区二区| 欧美视频中文一区二区三区在线观看| 国产精品久久久久久久久久久免费看| 日韩欧美亚洲一区二区| 欧美精品一区二区三区在线| 26uuu色噜噜精品一区二区| 久久久99免费| 欧美激情在线免费观看| 久久国产综合精品| 丝袜美腿亚洲色图| 精品一区二区三区香蕉蜜桃 | 精品综合免费视频观看| 欧美在线观看一区| 国产一区999| 亚洲国产日韩a在线播放性色| www国产精品av| 欧美日韩欧美一区二区| 国产成人99久久亚洲综合精品| 亚洲国产成人porn| 中文字幕欧美国产| 日韩欧美高清一区| 欧美在线色视频| 国产91综合网| 亚洲成人tv网| 亚洲人成网站影音先锋播放| 久久免费看少妇高潮| 91麻豆精品国产91久久久 | 美女任你摸久久| 亚洲精选在线视频| 国产网站一区二区三区| 日韩亚洲欧美在线| 在线观看欧美精品| 成人精品鲁一区一区二区| 蜜桃一区二区三区在线| 亚洲成人先锋电影| 曰韩精品一区二区| 最新日韩在线视频| 欧美激情一区二区三区四区| 精品国产精品网麻豆系列| 欧美日韩国产成人在线免费| 色婷婷精品久久二区二区蜜臂av | 久久久久久97三级| 欧美一区国产二区| 欧美日韩视频专区在线播放| 一本色道久久综合狠狠躁的推荐| 国产成人精品免费| 精品一区二区三区的国产在线播放| 亚洲18色成人| 一区二区高清在线| 国产日韩精品一区二区浪潮av| 欧美xxx久久| 精品国产乱码久久久久久久| 精品入口麻豆88视频| 欧美成人精品福利|