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

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

?? updatableresultset.java

?? 基于java的oa系統
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
/* Copyright (C) 2002-2004 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.  There are special exceptions to the terms and conditions of the GPL  as it is applied to this software. View the full text of the  exception exception in file EXCEPTIONS-CONNECTOR-J in the directory of this  software distribution. 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;import java.io.UnsupportedEncodingException;import java.math.BigDecimal;import java.sql.SQLException;import java.util.ArrayList;import java.util.HashMap;import java.util.List;/** * A result set that is updatable. * * @author Mark Matthews */public class UpdatableResultSet extends ResultSet {    /** Marker for 'stream' data when doing INSERT rows */    private final static byte[] STREAM_DATA_MARKER = "** STREAM DATA **"        .getBytes();    /** List of primary keys */    private List primaryKeyIndicies = null;    /** PreparedStatement used to delete data */    private com.mysql.jdbc.PreparedStatement deleter = null;    /** PreparedStatement used to insert data */    private com.mysql.jdbc.PreparedStatement inserter = null;    /** PreparedStatement used to refresh data */    private com.mysql.jdbc.PreparedStatement refresher;    /** PreparedStatement used to delete data */    private com.mysql.jdbc.PreparedStatement updater = null;    private SingleByteCharsetConverter charConverter;    private String charEncoding;    private String deleteSQL = null;    private String insertSQL = null;    private String quotedIdChar = null;    private String refreshSQL = null;    private String qualifiedAndQuotedTableName;    private String tableOnlyName;    /** SQL for in-place modifcation */    private String updateSQL = null;    /** What is the default value for the column? */    private byte[][] defaultColumnValue;    /** The binary data for the 'current' row */    private byte[][] savedCurrentRow;    /** Is this result set updateable? */    private boolean isUpdatable = false;    /**     * Creates a new UpdatableResultSet object.     *     * @param updateCount DOCUMENT ME!     * @param updateID DOCUMENT ME!     */    public UpdatableResultSet(long updateCount, long updateID) {        super(updateCount, updateID);    }    // ****************************************************************    //    //                       END OF PUBLIC INTERFACE    //    // ****************************************************************    /**     * Create a new ResultSet - Note that we create ResultSets to represent the     * results of everything.     *     * @param catalog the database in use when this result set was created     * @param fields an array of Field objects (basically, the ResultSet     *        MetaData)     * @param rows Vector of the actual data     * @param conn the status string returned from the back end     *     * @throws SQLException DOCUMENT ME!     */    public UpdatableResultSet(String catalog, Field[] fields, RowData rows,        com.mysql.jdbc.Connection conn) throws SQLException {        super(catalog, fields, rows, conn);        isUpdatable = checkUpdatability();    }    /**     * Creates a new UpdatableResultSet object.     *     * @param fields DOCUMENT ME!     * @param rows DOCUMENT ME!     *     * @throws SQLException DOCUMENT ME!     */    public UpdatableResultSet(Field[] fields, RowData rows)        throws SQLException {        super(fields, rows);        isUpdatable = checkUpdatability();    }    /**     * JDBC 2.0     *      * <p>     * Determine if the cursor is after the last row in the result  set.     * </p>     *     * @return true if after the last row, false otherwise.  Returns false when     *         the result set contains no rows.     *     * @exception SQLException if a database-access error occurs.     */    public synchronized boolean isAfterLast() throws SQLException {        return super.isAfterLast();    }    /**     * JDBC 2.0     *      * <p>     * Determine if the cursor is before the first row in the result  set.     * </p>     *     * @return true if before the first row, false otherwise. Returns false     *         when the result set contains no rows.     *     * @exception SQLException if a database-access error occurs.     */    public synchronized boolean isBeforeFirst() throws SQLException {        return super.isBeforeFirst();    }    /**     * JDBC 2.0 Return the concurrency of this result set.  The concurrency     * used is determined by the statement that created the result set.     *     * @return the concurrency type, CONCUR_READ_ONLY, etc.     *     * @exception SQLException if a database-access error occurs     */    public int getConcurrency() throws SQLException {        return (isUpdatable ? CONCUR_UPDATABLE : CONCUR_READ_ONLY);    }    /**     * JDBC 2.0     *      * <p>     * Determine if the cursor is on the first row of the result set.     * </p>     *     * @return true if on the first row, false otherwise.     *     * @exception SQLException if a database-access error occurs.     */    public synchronized boolean isFirst() throws SQLException {        return super.isFirst();    }    /**     * JDBC 2.0     *      * <p>     * Determine if the cursor is on the last row of the result set.    Note:     * Calling isLast() may be expensive since the JDBC driver might need to     * fetch ahead one row in order to determine  whether the current row is     * the last row in the result set.     * </p>     *     * @return true if on the last row, false otherwise.     *     * @exception SQLException if a database-access error occurs.     */    public synchronized boolean isLast() throws SQLException {        return super.isLast();    }    /**     * JDBC 2.0     *      * <p>     * Move to an absolute row number in the result set.     * </p>     *      * <p>     * If row is positive, moves to an absolute row with respect to the     * beginning of the result set.  The first row is row 1, the second is row     * 2, etc.     * </p>     *      * <p>     * If row is negative, moves to an absolute row position with respect to     * the end of result set.  For example, calling absolute(-1) positions the     * cursor on the last row, absolute(-2) indicates the next-to-last row,     * etc.     * </p>     *      * <p>     * An attempt to position the cursor beyond the first/last row in the     * result set, leaves the cursor before/after the first/last row,     * respectively.     * </p>     *      * <p>     * Note: Calling absolute(1) is the same as calling first(). Calling     * absolute(-1) is the same as calling last().     * </p>     *     * @param row DOCUMENT ME!     *     * @return true if on the result set, false if off.     *     * @exception SQLException if a database-access error occurs, or  row is 0,     *            or result set type is TYPE_FORWARD_ONLY.     */    public synchronized boolean absolute(int row) throws SQLException {        return super.absolute(row);    }    /**     * JDBC 2.0     *      * <p>     * Moves to the end of the result set, just after the last row.  Has no     * effect if the result set contains no rows.     * </p>     *     * @exception SQLException if a database-access error occurs, or result set     *            type is TYPE_FORWARD_ONLY.     */    public synchronized void afterLast() throws SQLException {        super.afterLast();    }    /**     * JDBC 2.0     *      * <p>     * Moves to the front of the result set, just before the first row. Has no     * effect if the result set contains no rows.     * </p>     *     * @exception SQLException if a database-access error occurs, or result set     *            type is TYPE_FORWARD_ONLY     */    public synchronized void beforeFirst() throws SQLException {        super.beforeFirst();    }    /**     * JDBC 2.0 The cancelRowUpdates() method may be called after calling an     * updateXXX() method(s) and before calling updateRow() to rollback  the     * updates made to a row.  If no updates have been made or  updateRow()     * has already been called, then this method has no  effect.     *     * @exception SQLException if a database-access error occurs, or if called     *            when on the insert row.     */    public synchronized void cancelRowUpdates() throws SQLException {        if (doingUpdates) {            doingUpdates = false;            updater.clearParameters();        }    }    /**     * After this call, getWarnings returns null until a new warning is     * reported for this ResultSet     *     * @exception java.sql.SQLException if a database access error occurs     */    public synchronized void clearWarnings() throws java.sql.SQLException {        warningChain = null;    }    /**     * In some cases, it is desirable to immediately release a ResultSet     * database and JDBC resources instead of waiting for this to happen when     * it is automatically closed.  The close method provides this immediate     * release.     *      * <p>     * <B>Note:</B> A ResultSet is automatically closed by the Statement the     * Statement that generated it when that Statement is closed, re-executed,     * or is used to retrieve the next result from a sequence of multiple     * results.  A ResultSet is also automatically closed when it is garbage     * collected.     * </p>     *     * @exception java.sql.SQLException if a database access error occurs     */    public synchronized void close() throws java.sql.SQLException {        super.close();    }    /**     * JDBC 2.0 Delete the current row from the result set and the underlying     * database.  Cannot be called when on the insert row.     *     * @exception SQLException if a database-access error occurs, or if called     *            when on the insert row.     * @throws SQLException if the ResultSet is not updatable or some other     *         error occurs     */    public synchronized void deleteRow() throws SQLException {        if (!isUpdatable) {            throw new NotUpdatable();        }        if (onInsertRow) {            throw new SQLException(                "Can not call deleteRow() when on insert row");        } else if (rowData.size() == 0) {            throw new SQLException("Can't deleteRow() on empty result set");        } else if (isBeforeFirst()) {            throw new SQLException(                "Before start of result set. Can not call deleteRow().");        } else if (isAfterLast()) {            throw new SQLException(                "After end of result set. Can not call deleteRow().");        }        if (deleter == null) {            if (deleteSQL == null) {                generateStatements();            }            deleter = (com.mysql.jdbc.PreparedStatement) connection                .prepareStatement(deleteSQL);                        if (deleter.getMaxRows() != 0) {            	deleter.setMaxRows(0);            }        }        deleter.clearParameters();        String characterEncoding = null;        if (connection.useUnicode()) {            characterEncoding = connection.getEncoding();        }        //        // FIXME: Use internal routines where possible for character

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品ww久久久久久p站| 日本乱人伦一区| 91精品国产高清一区二区三区蜜臀| 久久久综合九色合综国产精品| 免费成人性网站| 欧美一区三区二区| 日韩**一区毛片| 欧美一区二区三区性视频| 婷婷六月综合网| 欧美日韩精品欧美日韩精品| 亚洲国产中文字幕在线视频综合| 成人精品小蝌蚪| 久久在线免费观看| 久久爱www久久做| 精品国产凹凸成av人导航| 久久黄色级2电影| 欧美一区二区大片| 精品国产一区a| 国产一区高清在线| 国产欧美日韩精品在线| 成人动漫一区二区| 亚洲男女一区二区三区| 色94色欧美sute亚洲线路一ni| 一区二区三区视频在线观看| 色婷婷综合激情| 亚洲444eee在线观看| 91精品国产综合久久婷婷香蕉 | 91香蕉国产在线观看软件| 国产精品久久久久久久久果冻传媒| eeuss鲁片一区二区三区在线观看| 国产精品人成在线观看免费| 91免费在线看| 日韩成人av影视| 精品99久久久久久| 福利电影一区二区三区| 亚洲丝袜精品丝袜在线| 欧美日韩一区二区三区四区| 日韩激情视频在线观看| 国产日韩欧美综合一区| 色婷婷国产精品| 男人的天堂久久精品| 国产精品素人一区二区| 91麻豆精东视频| 看片的网站亚洲| 国产精品高潮呻吟| 欧美男男青年gay1069videost| 精品一区二区三区久久久| 国产午夜久久久久| 色av成人天堂桃色av| 精东粉嫩av免费一区二区三区| 欧美国产一区视频在线观看| 欧美在线观看18| 国产一区二区三区免费| 亚洲一区二区三区四区五区中文| 精品日韩一区二区三区免费视频| 99精品国产99久久久久久白柏| 国产精品乱码人人做人人爱| 偷拍亚洲欧洲综合| 久久久蜜桃精品| 欧美无乱码久久久免费午夜一区| 国产一区亚洲一区| 亚洲成av人片www| 国产精品麻豆欧美日韩ww| 欧美人体做爰大胆视频| 99久久er热在这里只有精品15 | 日韩—二三区免费观看av| 中文字幕一区二区三区蜜月| 精品久久人人做人人爰| 欧美三级日本三级少妇99| 国产成人av一区二区三区在线观看| 亚洲成人免费电影| 亚洲欧美一区二区三区久本道91| 精品国产伦一区二区三区观看方式 | 国产精品亚洲第一区在线暖暖韩国| 亚洲小少妇裸体bbw| 成人欧美一区二区三区白人| 久久这里只有精品首页| 日韩色视频在线观看| 色综合天天综合网天天看片| 蜜臀久久99精品久久久久宅男| 亚洲最新视频在线观看| 国产精品激情偷乱一区二区∴| 精品成人佐山爱一区二区| 欧美日韩精品综合在线| 91免费精品国自产拍在线不卡| 亚洲靠逼com| 亚洲午夜一区二区| 国产午夜精品在线观看| 欧美电影免费提供在线观看| 欧美午夜影院一区| 日本精品视频一区二区三区| 不卡影院免费观看| 丰满亚洲少妇av| 国产mv日韩mv欧美| 国产乱码字幕精品高清av| 国产综合色视频| 国内精品国产成人| 国产一区二区三区最好精华液| 久久精品国产网站| 久久国内精品视频| 国内精品自线一区二区三区视频| 久久精品国产精品亚洲综合| 久久99精品久久久| 看电影不卡的网站| 精品中文字幕一区二区| 人人精品人人爱| 免费人成网站在线观看欧美高清| 国产精品成人在线观看| 欧美国产成人在线| 亚洲欧洲av另类| 亚洲日本中文字幕区| 亚洲伊人色欲综合网| 三级欧美韩日大片在线看| 蜜臀av性久久久久蜜臀aⅴ| 韩国成人在线视频| 国产成人鲁色资源国产91色综| 国产精品自在欧美一区| 高清不卡一二三区| 91原创在线视频| 欧美怡红院视频| 日韩一区二区精品在线观看| 久久色中文字幕| 亚洲人成7777| 免费看日韩精品| 成人黄色小视频| 欧美性色黄大片手机版| 日韩一级完整毛片| 国产亚洲综合性久久久影院| ㊣最新国产の精品bt伙计久久| 一区二区理论电影在线观看| 男男视频亚洲欧美| 丰满白嫩尤物一区二区| 色吊一区二区三区| 精品国产一区二区亚洲人成毛片| 久久久综合网站| 亚洲国产日韩综合久久精品| 中文字幕一区二区三| 麻豆精品国产传媒mv男同| 91久久免费观看| 日本一区二区三区dvd视频在线| 日韩精品亚洲一区| 色婷婷久久久亚洲一区二区三区| 亚洲精品在线电影| 男女性色大片免费观看一区二区| 日本高清不卡一区| 国产精品乱码一区二三区小蝌蚪| 麻豆一区二区三| 91精品久久久久久久久99蜜臂| 亚洲精品乱码久久久久久黑人| 丁香婷婷综合五月| 欧美xingq一区二区| 天天操天天色综合| 欧美日韩在线一区二区| 最新欧美精品一区二区三区| 国产69精品久久久久777| 日韩三级高清在线| 日本欧美一区二区三区乱码| 精品视频在线看| 亚洲国产一区二区视频| 在线精品视频免费观看| 自拍偷拍欧美精品| 91视频一区二区| 亚洲欧美另类综合偷拍| 99re成人精品视频| 日韩一区欧美小说| 色综合久久99| 亚洲黄色av一区| 欧洲中文字幕精品| 一区二区三区在线视频观看58| 91在线国产福利| 亚洲一区二区五区| 欧美裸体一区二区三区| 天堂久久久久va久久久久| 欧美精品1区2区3区| 午夜精品久久久久久久久久久| 欧美丝袜丝交足nylons| 首页亚洲欧美制服丝腿| 欧美一级电影网站| 老司机午夜精品| 国产欧美一区二区三区鸳鸯浴| 成人网在线免费视频| 亚洲欧洲日韩综合一区二区| 色久优优欧美色久优优| 亚洲va欧美va国产va天堂影院| 欧美日韩国产三级| 久久精品国产精品亚洲综合| 国产婷婷色一区二区三区四区| 成人毛片视频在线观看| 伊人夜夜躁av伊人久久| 欧美精品在线观看播放| 国产在线视视频有精品| 国产日本一区二区| 91美女在线观看| 日韩有码一区二区三区| 欧美精品一区男女天堂| av成人免费在线观看| 亚洲高清免费观看高清完整版在线观看| 欧美丰满美乳xxx高潮www| 韩国精品一区二区| 亚洲男人的天堂在线aⅴ视频|