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

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

?? resultset.java

?? 基于java的oa系統
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
     * @param i the first column is 1, the second is 2, ...     *     * @return an object representing a CLOB     *     * @throws SQLException if an error occurs     */    public java.sql.Clob getClob(int i) throws SQLException {        return new com.mysql.jdbc.Clob(getString(i));    }    /**     * JDBC 2.0 Get a CLOB column.     *     * @param colName the column name     *     * @return an object representing a CLOB     *     * @throws SQLException if an error occurs     */    public java.sql.Clob getClob(String colName) throws SQLException {        return getClob(findColumn(colName));    }    /**     * 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.     *     * @throws SQLException if a database-access error occurs     */    public int getConcurrency() throws SQLException {        return this.resultSetConcurrency;    }    /**     * DOCUMENT ME!     *     * @param conn the connection that created this result set.     */    public synchronized void setConnection(com.mysql.jdbc.Connection conn) {        this.connection = conn;		if (this.connection != null) {			this.useStrictFloatingPoint = this.connection.useStrictFloatingPoint();			this.defaultTimeZone = this.connection.getDefaultTimeZone();		} else {			this.defaultTimeZone = TimeZone.getDefault();		}    }    /**     * Get the name of the SQL cursor used by this ResultSet     *      * <p>     * In SQL, a result table is retrieved though a cursor that is named.  The     * current row of a result can be updated or deleted using a positioned     * update/delete statement that references the cursor name.     * </p>     *      * <p>     * JDBC supports this SQL feature by providing the name of the SQL cursor     * used by a ResultSet.  The current row of a ResulSet is also the current     * row of this SQL cursor.     * </p>     *      * <p>     * <B>Note:</B> If positioned update is not supported, a     * java.sql.SQLException is thrown.     * </p>     *     * @return the ResultSet's SQL cursor name.     *     * @exception java.sql.SQLException if a database access error occurs     */    public String getCursorName() throws java.sql.SQLException {        throw new java.sql.SQLException("Positioned Update not supported.",            "S1C00");    }    /**     * Get the value of a column in the current row as a java.sql.Date object     *     * @param columnIndex the first column is 1, the second is 2...     *     * @return the column value; null if SQL NULL     *     * @exception java.sql.SQLException if a database access error occurs     */    public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException {        return getDate(columnIndex, null);    }    /**     * DOCUMENT ME!     *     * @param columnName DOCUMENT ME!     *     * @return DOCUMENT ME!     *     * @throws java.sql.SQLException DOCUMENT ME!     */    public java.sql.Date getDate(String columnName)        throws java.sql.SQLException {        return getDate(findColumn(columnName));    }    /**     * JDBC 2.0 Get the value of a column in the current row as a java.sql.Date     * object.  Use the calendar to construct an appropriate millisecond value     * for the Date, if the underlying database doesn't store timezone     * information.     *     * @param columnIndex the first column is 1, the second is 2, ...     * @param cal the calendar to use in constructing the date     *     * @return the column value; if the value is SQL NULL, the result is null     *     * @exception SQLException if a database-access error occurs.     * @throws java.sql.SQLException DOCUMENT ME!     */    public java.sql.Date getDate(int columnIndex, Calendar cal)        throws SQLException {        Integer year = null;        Integer month = null;        Integer day = null;        String stringVal = "";        try {            stringVal = getString(columnIndex);            if (stringVal == null) {                return null;            } else {                int length = stringVal.length();                if ((length > 0) && (stringVal.charAt(0) == '0')                        && (stringVal.equals("0000-00-00")                        || stringVal.equals("0000-00-00 00:00:00")                        || stringVal.equals("00000000000000")                        || stringVal.equals("0"))) {                    wasNullFlag = true;                    return null;                } else if (fields[columnIndex - 1].getMysqlType() == MysqlDefs.FIELD_TYPE_TIMESTAMP) {                    // Convert from TIMESTAMP                    switch (length) {                    case 14:                    case 8: {                        year = new Integer(stringVal.substring(0, 4));                        month = new Integer(stringVal.substring(4, 6));                        day = new Integer(stringVal.substring(6, 8));                        return fastDateCreate(cal, year.intValue() - 1900,                            month.intValue() - 1, day.intValue());                    }                    case 12:                    case 10:                    case 6: {                        year = new Integer(stringVal.substring(0, 2));                        if (year.intValue() <= 69) {                            year = new Integer(year.intValue() + 100);                        }                        month = new Integer(stringVal.substring(2, 4));                        day = new Integer(stringVal.substring(4, 6));                        return fastDateCreate(cal, year.intValue(),                            month.intValue() - 1, day.intValue());                    }                    case 4: {                        year = new Integer(stringVal.substring(0, 4));                        if (year.intValue() <= 69) {                            year = new Integer(year.intValue() + 100);                        }                        month = new Integer(stringVal.substring(2, 4));                        return fastDateCreate(cal, year.intValue(),                            month.intValue() - 1, 1);                    }                    case 2: {                        year = new Integer(stringVal.substring(0, 2));                        if (year.intValue() <= 69) {                            year = new Integer(year.intValue() + 100);                        }                        return fastDateCreate(cal, year.intValue(), 0, 1);                    }                    default:                        throw new SQLException("Bad format for Date '"                            + stringVal + "' in column " + columnIndex + "("                            + fields[columnIndex - 1] + ").", SQLError.SQL_STATE_ILLEGAL_ARGUMENT);                    } /* endswitch */                } else if (fields[columnIndex - 1].getMysqlType() == MysqlDefs.FIELD_TYPE_YEAR) {                    year = new Integer(stringVal.substring(0, 4));                    return fastDateCreate(cal, year.intValue() - 1900, 0, 1);                } else {                    if (length < 10) {                        throw new SQLException("Bad format for Date '"                            + stringVal + "' in column " + columnIndex + "("                            + fields[columnIndex - 1] + ").", SQLError.SQL_STATE_ILLEGAL_ARGUMENT);                    }                    year = new Integer(stringVal.substring(0, 4));                    month = new Integer(stringVal.substring(5, 7));                    day = new Integer(stringVal.substring(8, 10));                }                return fastDateCreate(cal, year.intValue() - 1900,                    month.intValue() - 1, day.intValue());            }        } catch (Exception e) {            throw new java.sql.SQLException("Cannot convert value '"                + stringVal + "' from column " + columnIndex + "(" + stringVal                + " ) to DATE.", SQLError.SQL_STATE_ILLEGAL_ARGUMENT);        }    }    /**     * Get the value of a column in the current row as a java.sql.Date object.     * Use the calendar to construct an appropriate millisecond value for the     * Date, if the underlying database doesn't store timezone information.     *     * @param columnName is the SQL name of the column     * @param cal the calendar to use in constructing the date     *     * @return the column value; if the value is SQL NULL, the result is null     *     * @exception SQLException if a database-access error occurs.     */    public java.sql.Date getDate(String columnName, Calendar cal)        throws SQLException {        return getDate(columnName);    }    /**     * Get the value of a column in the current row as a Java double.     *     * @param columnIndex the first column is 1, the second is 2,...     *     * @return the column value; 0 if SQL NULL     *     * @exception java.sql.SQLException if a database access error occurs     */    public double getDouble(int columnIndex) throws java.sql.SQLException {        try {            return getDoubleInternal(columnIndex);        } catch (NumberFormatException E) {            throw new java.sql.SQLException("Bad format for number '"                + new String(thisRow[columnIndex - 1]) + "' in column "                + columnIndex + "(" + fields[columnIndex - 1] + ").", SQLError.SQL_STATE_ILLEGAL_ARGUMENT);        }    }    /**     * DOCUMENT ME!     *     * @param columnName DOCUMENT ME!     *     * @return DOCUMENT ME!     *     * @throws java.sql.SQLException DOCUMENT ME!     */    public double getDouble(String columnName) throws java.sql.SQLException {        return getDouble(findColumn(columnName));    }    /**     * JDBC 2.0 Give a hint as to the direction in which the rows in this     * result set will be processed.  The initial value is determined by the     * statement that produced the result set.  The fetch direction may be     * changed at any time.     *     * @param direction the direction to fetch rows in.     *     * @exception SQLException if a database-access error occurs, or the result     *            set type is TYPE_FORWARD_ONLY and direction is not     *            FETCH_FORWARD. MM.MySQL actually ignores this, because it     *            has the whole result set anyway, so the direction is     *            immaterial.     */    public void setFetchDirection(int direction) throws SQLException {        if ((direction != FETCH_FORWARD) && (direction != FETCH_REVERSE)                && (direction != FETCH_UNKNOWN)) {            throw new SQLException("Illegal value for fetch direction", SQLError.SQL_STATE_ILLEGAL_ARGUMENT);        } else {            fetchDirection = direction;        }    }    /**     * JDBC 2.0 Returns the fetch direction for this result set.     *     * @return the fetch direction for this result set.     *     * @exception SQLException if a database-access error occurs     */    public int getFetchDirection() throws SQLException {        return fetchDirection;    }    /**     * JDBC 2.0 Give the JDBC driver a hint as to the number of rows that     * should be fetched from the database when more rows are needed for this     * result set.  If the fetch size specified is zero, then the JDBC driver     * ignores the value, and is free to make its own best guess as to what     * the fetch size should be.  The default value is set by the statement     * that creates the result set.  The fetch size may be changed at any     * time.     *     * @param rows the number of rows to fetch     *     * @exception SQLException if a database-access error occurs, or the     *            condition 0 &lt;= rows &lt;= this.getMaxRows() is not     *            satisfied. Currently ignored by this driver.     */    public void setFetchSize(int rows) throws SQLException {        if (rows < 0) { /* || rows > getMaxRows()*/            throw new SQLException("Value must be between 0 and getMaxRows()",                SQLError.SQL_STATE_ILLEGAL_ARGUMENT);        }        fetchSize = rows;    }    /**     * JDBC 2.0 Return the fetch size for this result set.     *     * @return the fetch size for this result set.     *     * @exception SQLException if a database-access error occurs     */    public int getFetchSize() throws SQLException {        return fetchSize;    }    /**     * 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 boolean isFirst() throws SQLException {        if (Driver.TRACE) {            Object[] args = {  };            Debug.methodCall(this, "isFirst", args);        }        checkClosed();                boolean b = rowData.isFirst();        if (Driver.TRACE) {            Debug.returnValue(this, "isFirst", new Boolean(b));        }        return b;    }    /**     * Get the value of a column in the current row as a Java float.     *     * @param columnIndex the first column is 1, the second is 2,...     *     * @return the column value; 0 if SQL NULL     *     * @exception java.sql.SQLException if a database access error occurs     * @throws SQLException DOCUMENT ME!     */    public float getFloat(int columnIndex) throws java.sql.SQLException {        String val = null;        try {            val = getString(columnIndex);            if ((val != null) && (val.length() != 0)) {                float f = Float.parseFloat(val);                return f;            } else {                return 0;            }        } catch (NumberFormatException nfe) {            try {                // To do: warn on under/overflow?                return (float) Double.parseDouble(val);            } catch (NumberFormatException newNfe) {                ; // ignore, it's not a number            }            throw new SQLException("Invalid value for getFloat() - '" + val                + "'", SQLError.SQL_STATE_ILLEGAL_ARGUMENT);        }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产视频一区二区在线观看| 欧美另类变人与禽xxxxx| 国产色综合久久| 国产成人av电影在线| 亚洲欧洲日产国产综合网| 色欲综合视频天天天| 亚洲图片欧美综合| 91精品视频网| 国产精品影视网| 亚洲女爱视频在线| 3d成人h动漫网站入口| 国产一区二区伦理| 中文字幕永久在线不卡| 欧美性色欧美a在线播放| 日本亚洲电影天堂| 国产欧美日韩精品一区| 欧美午夜影院一区| 精品无人码麻豆乱码1区2区 | jiyouzz国产精品久久| 亚洲美女屁股眼交| 日韩欧美资源站| 成人精品一区二区三区四区| 亚洲福利一区二区三区| wwwwww.欧美系列| 在线视频一区二区三| 久久99国产精品久久99| 亚洲乱码中文字幕| 精品日韩在线观看| 日本高清成人免费播放| 狠狠久久亚洲欧美| 又紧又大又爽精品一区二区| 精品理论电影在线观看 | 在线免费观看日本欧美| 国精产品一区一区三区mba桃花| 亚洲日本成人在线观看| 精品久久久久香蕉网| 日本韩国欧美国产| 国产69精品久久久久777| 天天av天天翘天天综合网| 日本一区二区高清| 精品久久久久久久久久久久包黑料| 91麻豆国产在线观看| 国产a区久久久| 久草在线在线精品观看| 亚洲精品国产第一综合99久久| 久久新电视剧免费观看| 欧美一区二区视频在线观看| 91在线观看免费视频| 国产成人免费xxxxxxxx| 美女免费视频一区二区| 亚洲高清视频中文字幕| 国产精品视频yy9299一区| 26uuu成人网一区二区三区| 欧美日韩一区久久| 在线观看不卡视频| 91麻豆国产精品久久| jlzzjlzz亚洲女人18| 成人午夜av电影| 国产成人亚洲综合a∨猫咪| 免费一级片91| 日韩激情一区二区| 天天操天天色综合| 三级久久三级久久| 五月综合激情网| 亚洲国产美女搞黄色| 亚洲欧美激情一区二区| 亚洲视频在线观看一区| 中文字幕在线一区二区三区| 亚洲国产精品av| 欧美国产精品劲爆| 国产精品伦一区| 一色屋精品亚洲香蕉网站| 国产精品国产自产拍高清av | 欧美三级一区二区| 欧洲av在线精品| 欧美日韩午夜影院| 5858s免费视频成人| 欧美精品粉嫩高潮一区二区| 欧美高清hd18日本| 欧美精品精品一区| 日韩手机在线导航| 精品电影一区二区三区| 精品国产污污免费网站入口 | 日韩欧美一区二区免费| 精品免费视频一区二区| 国产欧美精品一区二区色综合朱莉| 久久精品一区二区三区不卡| 中文一区在线播放| 一区二区三区在线观看动漫 | 久久精品免费观看| 国产一区二区三区视频在线播放| 狠狠久久亚洲欧美| www.欧美日韩| 在线欧美一区二区| 欧美一区二区三区系列电影| 日韩精品资源二区在线| 欧美激情一区二区三区蜜桃视频 | 国产成人aaaa| 欧美综合色免费| 日韩欧美高清在线| 国产精品久久久久久福利一牛影视 | 日本女人一区二区三区| 国产乱码精品一区二区三区忘忧草 | 在线观看日韩毛片| 91精品国产综合久久久久久漫画 | 天天综合色天天| 国产精品自在欧美一区| 99热这里都是精品| 欧美精品乱人伦久久久久久| 久久网站最新地址| 亚洲最大的成人av| 久久99蜜桃精品| 色天使久久综合网天天| 日韩你懂的在线观看| 亚洲色图色小说| 日本aⅴ免费视频一区二区三区| 成人免费黄色在线| 欧美嫩在线观看| 国产精品久久综合| 日韩av一二三| 99久久精品免费看国产| 日韩欧美一级二级三级| 亚洲欧美日韩国产一区二区三区| 男人操女人的视频在线观看欧美| gogogo免费视频观看亚洲一| 日韩欧美一级二级三级久久久| 亚洲欧美日韩国产中文在线| 精品亚洲国内自在自线福利| 日本韩国精品一区二区在线观看| 久久午夜国产精品| 日日夜夜精品视频免费| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 午夜精品一区在线观看| 成人动漫一区二区在线| 久久精品网站免费观看| 欧美一级国产精品| 国产精品久久久久久户外露出| 日本成人在线网站| 91麻豆精东视频| 久久亚洲二区三区| 蜜桃久久久久久| 欧美日韩精品一区二区| 亚洲免费看黄网站| 国产电影精品久久禁18| 欧美videossexotv100| 日一区二区三区| 在线精品国精品国产尤物884a| 国产精品日日摸夜夜摸av| 国产美女精品在线| 日韩欧美123| 日韩国产欧美在线播放| 欧美性视频一区二区三区| 亚洲精品在线观| 蜜臀久久久99精品久久久久久| 欧美在线观看视频一区二区三区| 国产精品激情偷乱一区二区∴| 国产精品综合在线视频| 精品久久久久久久久久久久包黑料| 日韩中文字幕1| 91精品国产综合久久久蜜臀粉嫩| 亚洲国产日韩一区二区| 欧美日韩中字一区| 性做久久久久久久免费看| 欧美无砖专区一中文字| 怡红院av一区二区三区| 色婷婷av一区二区三区gif| 一区二区三区在线高清| 色婷婷香蕉在线一区二区| 一区二区三区久久| 欧美三级欧美一级| 日本欧美一区二区| 欧美电影免费观看高清完整版在| 久久97超碰色| 国产调教视频一区| 不卡的av电影| 亚洲最大成人综合| 日韩黄色小视频| 欧美性做爰猛烈叫床潮| 亚瑟在线精品视频| 91精选在线观看| 国产在线精品一区二区夜色| 久久香蕉国产线看观看99| 国产69精品久久久久777| 国产精品卡一卡二| 欧美三级电影在线观看| 奇米在线7777在线精品| 国产日韩精品一区二区三区| 成人h版在线观看| 亚洲国产wwwccc36天堂| 日韩精品一区二区在线| 丰满亚洲少妇av| 亚洲第一福利一区| 精品国产乱码久久久久久影片| 高清视频一区二区| 亚洲va欧美va人人爽| 欧美精品一区二区三区久久久| 不卡av在线免费观看| 亚洲成人av免费| 久久九九全国免费| 欧美系列日韩一区|