亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
日本成人中文字幕| 成人午夜伦理影院| 国产精品国产a| 久久精品男人的天堂| 日韩欧美国产电影| 日韩精品资源二区在线| 欧美日韩精品一区二区天天拍小说| 91在线一区二区| av电影在线观看一区| 99久久伊人精品| 色综合天天综合网国产成人综合天 | 日韩亚洲欧美在线观看| 欧美在线一二三| 欧美男同性恋视频网站| 在线91免费看| 日韩欧美成人激情| 日韩欧美国产1| 久久婷婷综合激情| 亚洲欧洲色图综合| 亚洲最大的成人av| 三级久久三级久久久| 久久精品国产精品亚洲精品| 精品一区二区三区久久久| 国产一区二区三区在线看麻豆| 精品一区二区三区免费毛片爱| 国产成人午夜视频| 91尤物视频在线观看| 欧美日韩一区二区欧美激情| 日韩欧美一区二区在线视频| 久久精品夜色噜噜亚洲aⅴ| 国产精品污网站| 亚洲线精品一区二区三区| 日产国产欧美视频一区精品| 国产精品中文有码| 欧美在线你懂得| 欧美videofree性高清杂交| 久久久久久久久久美女| 伊人色综合久久天天人手人婷| 五月天一区二区| 丁香婷婷综合网| 欧美日韩精品欧美日韩精品一| 精品少妇一区二区三区免费观看 | 欧美片网站yy| 日本一区二区高清| 亚洲午夜三级在线| 国产精品白丝jk黑袜喷水| 欧美中文字幕一二三区视频| 久久综合色之久久综合| 亚洲成人资源在线| 成人av电影在线| 欧美一级理论片| 一区二区三区成人在线视频| 国产一区二区三区免费观看 | 一区二区三区视频在线看| 久久精品国产精品亚洲红杏| 欧美综合欧美视频| 中国色在线观看另类| 美女一区二区视频| 欧美婷婷六月丁香综合色| 中文文精品字幕一区二区| 麻豆国产精品一区二区三区 | 欧美三级日韩在线| 国产精品婷婷午夜在线观看| 久久激情五月激情| 欧美一区二区在线视频| 亚洲午夜在线电影| 暴力调教一区二区三区| 国产丝袜美腿一区二区三区| 日韩成人一区二区| 欧美色偷偷大香| 一区二区在线观看不卡| 成人黄色软件下载| 国产清纯白嫩初高生在线观看91 | 国产精品国产精品国产专区不蜜| 国产乱人伦偷精品视频不卡| 欧美电影免费观看高清完整版| 亚洲五月六月丁香激情| 日本精品视频一区二区| 亚洲欧美日韩精品久久久久| www.欧美日韩国产在线| 国产精品久久久久一区| 99久久综合国产精品| 国产精品天干天干在线综合| 国产成人综合在线观看| 国产日韩在线不卡| 国产剧情一区二区| 国产欧美一区二区三区沐欲| 福利视频网站一区二区三区| 国产丝袜美腿一区二区三区| 95精品视频在线| 亚洲丝袜制服诱惑| 欧洲一区在线电影| 丝袜亚洲另类丝袜在线| 日韩三级av在线播放| 国产综合久久久久久鬼色| 久久久久免费观看| jizz一区二区| 一级特黄大欧美久久久| 欧美人狂配大交3d怪物一区| 青椒成人免费视频| 国产欧美日本一区视频| av一区二区三区| 夜夜嗨av一区二区三区中文字幕| 欧美精品tushy高清| 狠狠色丁香久久婷婷综合_中| 国产亚洲欧美日韩日本| 91女人视频在线观看| 亚洲国产成人91porn| 日韩精品在线一区二区| 成人小视频免费在线观看| 一区二区在线电影| 精品国产乱码久久久久久老虎| 久久看人人爽人人| 色久综合一二码| 天天综合日日夜夜精品| 国产欧美一区二区三区在线看蜜臀| 97久久超碰国产精品| 麻豆精品一区二区| 中文字幕一区二区三区不卡在线 | 综合中文字幕亚洲| 日韩午夜av电影| 91在线精品一区二区三区| 天堂资源在线中文精品| 国产精品视频一二| 4438成人网| 一本到高清视频免费精品| 麻豆国产欧美日韩综合精品二区 | 韩国理伦片一区二区三区在线播放| 国产精品美女久久久久久久久久久| 欧美日韩国产乱码电影| 国产91精品精华液一区二区三区 | 欧美不卡一区二区三区| 欧洲一区在线观看| 99视频有精品| 国内成+人亚洲+欧美+综合在线| 亚洲午夜精品在线| 国产精品久久久久久久久图文区| 欧美一卡二卡三卡四卡| 欧美午夜免费电影| 99久久精品国产导航| 国产又黄又大久久| 青青草国产精品亚洲专区无| 午夜伦欧美伦电影理论片| 日本一区二区不卡视频| 日韩欧美在线123| 欧美一级久久久久久久大片| 欧美综合一区二区| 91黄色免费网站| 色狠狠桃花综合| 色悠悠亚洲一区二区| 成人黄色电影在线 | 成人精品国产免费网站| 韩国欧美国产一区| 韩国精品在线观看| 国模无码大尺度一区二区三区| 视频一区中文字幕国产| 亚洲第一成人在线| 午夜精品福利视频网站| 亚洲一区二区欧美| 亚洲福利视频三区| 丝袜诱惑亚洲看片| 免费观看在线综合色| 日韩av在线发布| 美国毛片一区二区三区| 久久99精品久久久久| 国产一区二区视频在线播放| 国产精品一线二线三线| 福利一区福利二区| 色噜噜夜夜夜综合网| 欧美日韩一区不卡| 欧美一二三区在线观看| 欧美成人一区二区三区在线观看 | 国产精一品亚洲二区在线视频| 国产精品综合二区| 91蝌蚪国产九色| 欧美日韩中文另类| 日韩无一区二区| 欧美高清在线精品一区| 一区二区激情视频| 毛片av一区二区三区| 成人性视频网站| 在线亚洲免费视频| 日韩免费观看2025年上映的电影| 精品成人佐山爱一区二区| 亚洲欧美在线视频| 亚洲超碰精品一区二区| 国产在线精品免费av| 91美女视频网站| 欧美一二三区在线观看| 亚洲丝袜美腿综合| 蜜桃av噜噜一区二区三区小说| 国产精品99久久久久久似苏梦涵| 色噜噜狠狠色综合欧洲selulu| 日韩视频中午一区| 最新国产精品久久精品| 日本视频一区二区| 99久久99久久精品国产片果冻| 4hu四虎永久在线影院成人| 国产精品婷婷午夜在线观看| 日韩国产在线观看|