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

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

?? jdbc4updatableresultset.java

?? 用于JAVA數據庫連接.解壓就可用,方便得很
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
	            syncUpdate();
	        }
	
	        ((com.mysql.jdbc.JDBC4PreparedStatement)this.updater).setNString(columnIndex, x);
	    } else {
	    	((com.mysql.jdbc.JDBC4PreparedStatement)this.inserter).setNString(columnIndex, x);
	
	        if (x == null) {
	        	 this.thisRow.setColumnValue(columnIndex, null);
	        } else {
	        	 this.thisRow.setColumnValue(columnIndex, StringUtils.getBytes(x,
	                        this.charConverter, fieldEncoding,
	                        this.connection.getServerCharacterEncoding(),
	                        this.connection.parserKnowsUnicode()));
	        }
	    }
	}

	/**
	 * JDBC 4.0 Update a column with NATIONAL CHARACTER. The updateXXX() methods
	 * are used to update column values in the current row, or the insert row.
	 * The updateXXX() methods do not update the underlying database, instead
	 * the updateRow() or insertRow() methods are called to update the database.
	 * 
	 * @param columnName
	 *            the name of the column
	 * @param x
	 *            the new column value
	 * 
	 * @exception SQLException
	 *                if a database-access error occurs
	 */
	public synchronized void updateNString(String columnName, String x)
	        throws SQLException {
	    updateNString(findColumn(columnName), x);
	}

	public int getHoldability() throws SQLException {
		throw new NotYetImplementedException();
	}

	/**
	 * JDBC 4.0 Get a NCLOB column.
	 * 
	 * @param columnIndex
	 *            the first column is 1, the second is 2, ...
	 * 
	 * @return an object representing a NCLOB
	 * 
	 * @throws SQLException
	 *             if an error occurs
	 */
	protected java.sql.NClob getNativeNClob(int columnIndex)
			throws SQLException {
		String stringVal = getStringForNClob(columnIndex);
	
		if (stringVal == null) {
			return null;
		}
	
		return getNClobFromString(stringVal, columnIndex);
	}

	/**
	 * JDBC 4.0
	 * 
	 * <p>
	 * Get the value of a column in the current row as a java.io.Reader.
	 * </p>
	 * 
	 * @param columnIndex
	 *            the column to get the value from
	 * 
	 * @return the value in the column as a java.io.Reader.
	 * 
	 * @throws SQLException
	 *             if an error occurs
	 */
	public Reader getNCharacterStream(int columnIndex) throws SQLException {
		String fieldEncoding = this.fields[columnIndex - 1].getCharacterSet();
		if (fieldEncoding == null || !fieldEncoding.equals("UTF-8")) {
			throw new SQLException(
					"Can not call getNCharacterStream() when field's charset isn't UTF-8");
		}
		
		return getCharacterStream(columnIndex);
	}

	/**
	 * JDBC 4.0
	 * 
	 * <p>
	 * Get the value of a column in the current row as a java.io.Reader.
	 * </p>
	 * 
	 * @param columnName
	 *            the column name to retrieve the value from
	 * 
	 * @return the value as a java.io.Reader
	 * 
	 * @throws SQLException
	 *             if an error occurs
	 */
	public Reader getNCharacterStream(String columnName) throws SQLException {
		return getNCharacterStream(findColumn(columnName));
	}

	/**
	 * JDBC 4.0 Get a NCLOB column.
	 * 
	 * @param i
	 *            the first column is 1, the second is 2, ...
	 * 
	 * @return an object representing a NCLOB
	 * 
	 * @throws SQLException
	 *             if an error occurs
	 */
	public NClob getNClob(int columnIndex) throws SQLException {
		String fieldEncoding = this.fields[columnIndex - 1].getCharacterSet();
		
		if (fieldEncoding == null || !fieldEncoding.equals("UTF-8")) {
			throw new SQLException(
					"Can not call getNClob() when field's charset isn't UTF-8");
		}
		
		if (!this.isBinaryEncoded) {
			String asString = getStringForNClob(columnIndex);
	
			if (asString == null) {
				return null;
			}
	
			return new com.mysql.jdbc.JDBC4NClob(asString);
		}
	
		return getNativeNClob(columnIndex);
	}

	/**
	 * JDBC 4.0 Get a NCLOB column.
	 * 
	 * @param colName
	 *            the column name
	 * 
	 * @return an object representing a NCLOB
	 * 
	 * @throws SQLException
	 *             if an error occurs
	 */
	public NClob getNClob(String columnName) throws SQLException {
		return getNClob(findColumn(columnName));
	}

	private final java.sql.NClob getNClobFromString(String stringVal,
			int columnIndex) throws SQLException {
		return new com.mysql.jdbc.JDBC4NClob(stringVal);
	}

	/**
	 * JDBC 4.0
	 * 
	 * Get the value of a column in the current row as a Java String
	 * 
	 * @param columnIndex
	 *            the first column is 1, the second is 2...
	 * 
	 * @return the column value, null for SQL NULL
	 * 
	 * @exception SQLException
	 *                if a database access error occurs
	 */
	public String getNString(int columnIndex) throws SQLException {
		String fieldEncoding = this.fields[columnIndex - 1].getCharacterSet();
		
		if (fieldEncoding == null || !fieldEncoding.equals("UTF-8")) {
			throw new SQLException(
					"Can not call getNString() when field's charset isn't UTF-8");
		}
		
		return getString(columnIndex);
	}

	/**
	 * JDBC 4.0
	 * 
	 * The following routines simply convert the columnName into a columnIndex
	 * and then call the appropriate routine above.
	 * 
	 * @param columnName
	 *            is the SQL name of the column
	 * 
	 * @return the column value
	 * 
	 * @exception SQLException
	 *                if a database access error occurs
	 */
	public String getNString(String columnName) throws SQLException {
		return getNString(findColumn(columnName));
	}

	public RowId getRowId(int columnIndex) throws SQLException {
		throw new NotYetImplementedException();
	}

	public RowId getRowId(String columnLabel) throws SQLException {
		return getRowId(findColumn(columnLabel));
	}

	public SQLXML getSQLXML(int columnIndex) throws SQLException {
		return new JDBC4MysqlSQLXML(this, columnIndex);
	}

	public SQLXML getSQLXML(String columnLabel) throws SQLException {
		return getSQLXML(findColumn(columnLabel));
	}

	private String getStringForNClob(int columnIndex) throws SQLException {
		String asString = null;
	
		String forcedEncoding = "UTF-8";
	
		try {
			byte[] asBytes = null;
	
			if (!this.isBinaryEncoded) {
				asBytes = getBytes(columnIndex);
			} else {
				asBytes = getNativeBytes(columnIndex, true);
			}
	
			if (asBytes != null) {
				asString = new String(asBytes, forcedEncoding);
			}
		} catch (UnsupportedEncodingException uee) {
			throw SQLError.createSQLException("Unsupported character encoding "
					+ forcedEncoding, SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
		}
	
		return asString;
	}

	public synchronized boolean isClosed() throws SQLException {
		return this.isClosed;
	}

	/**
	 * Returns true if this either implements the interface argument or is
	 * directly or indirectly a wrapper for an object that does. Returns false
	 * otherwise. If this implements the interface then return true, else if
	 * this is a wrapper then return the result of recursively calling
	 * <code>isWrapperFor</code> on the wrapped object. If this does not
	 * implement the interface and is not a wrapper, return false. This method
	 * should be implemented as a low-cost operation compared to
	 * <code>unwrap</code> so that callers can use this method to avoid
	 * expensive <code>unwrap</code> calls that may fail. If this method
	 * returns true then calling <code>unwrap</code> with the same argument
	 * should succeed.
	 * 
	 * @param interfaces
	 *            a Class defining an interface.
	 * @return true if this implements the interface or directly or indirectly
	 *         wraps an object that does.
	 * @throws java.sql.SQLException
	 *             if an error occurs while determining whether this is a
	 *             wrapper for an object with the given interface.
	 * @since 1.6
	 */
	public boolean isWrapperFor(Class<?> iface) throws SQLException {
		checkClosed();
		
		// This works for classes that aren't actually wrapping
		// anything
		return iface.isInstance(this);
	}

    /**
	 * Returns an object that implements the given interface to allow access to
	 * non-standard methods, or standard methods not exposed by the proxy. The
	 * result may be either the object found to implement the interface or a
	 * proxy for that object. If the receiver implements the interface then that
	 * is the object. If the receiver is a wrapper and the wrapped object
	 * implements the interface then that is the object. Otherwise the object is
	 * the result of calling <code>unwrap</code> recursively on the wrapped
	 * object. If the receiver is not a wrapper and does not implement the
	 * interface, then an <code>SQLException</code> is thrown.
	 * 
	 * @param iface
	 *            A Class defining an interface that the result must implement.
	 * @return an object that implements the interface. May be a proxy for the
	 *         actual implementing object.
	 * @throws java.sql.SQLException
	 *             If no object found that implements the interface
	 * @since 1.6
	 */
    public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
    	try {
    		// This works for classes that aren't actually wrapping
    		// anything
            return iface.cast(this);
        } catch (ClassCastException cce) {
            throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), 
            		SQLError.SQL_STATE_ILLEGAL_ARGUMENT);
        }
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
懂色av中文字幕一区二区三区| 久久久久久久综合色一本| 亚洲美女在线一区| 欧美影视一区二区三区| 亚洲国产欧美日韩另类综合 | 91黄色小视频| 亚洲成人av一区二区| 91精品国产综合久久香蕉的特点| 美女视频一区二区三区| 久久久国产精品午夜一区ai换脸| 从欧美一区二区三区| 亚洲一区中文日韩| 日韩免费成人网| 成人免费观看视频| 亚洲一区电影777| 欧美精品一区二区三| 成人动漫视频在线| 视频一区二区不卡| 日本一区二区三区电影| 欧美三级视频在线| 国产成人综合视频| 午夜天堂影视香蕉久久| 精品国产伦一区二区三区观看体验| 高清不卡在线观看| 婷婷国产在线综合| 欧美国产精品v| 欧美另类高清zo欧美| 国产精品一二二区| 亚洲一区二区欧美| 欧美国产激情一区二区三区蜜月 | 94-欧美-setu| 麻豆视频观看网址久久| 成人欧美一区二区三区视频网页| 4438成人网| 99精品热视频| 国产呦萝稀缺另类资源| 夜夜嗨av一区二区三区网页| 精品国产乱码久久久久久牛牛 | 亚洲天堂久久久久久久| 日韩三级视频中文字幕| 在线视频亚洲一区| 懂色中文一区二区在线播放| 日本午夜一区二区| 一区二区三区美女| 国产精品伦理在线| 精品国产伦一区二区三区观看方式| 在线免费观看不卡av| 9色porny自拍视频一区二区| 精品中文字幕一区二区小辣椒| 樱花草国产18久久久久| 中文字幕乱码日本亚洲一区二区| 欧美一区二区观看视频| 在线精品视频免费观看| 成人av免费在线| 国产**成人网毛片九色| 国内外成人在线视频| 蜜臀av一区二区三区| 午夜影视日本亚洲欧洲精品| 亚洲精品自拍动漫在线| 国产精品久久久久久久久快鸭 | 国产精品主播直播| 另类成人小视频在线| 午夜成人免费电影| 亚洲电影视频在线| 亚洲午夜私人影院| 亚洲国产精品一区二区久久| 亚洲精品一二三| 一区二区三区视频在线观看| 中文字幕在线不卡一区| 国产精品久久久久精k8| 国产精品久久网站| 成人欧美一区二区三区小说| 成人欧美一区二区三区| 亚洲日本在线a| 亚洲精品伦理在线| 五月婷婷欧美视频| 日韩激情av在线| 美女性感视频久久| 国产在线精品一区在线观看麻豆| 久草这里只有精品视频| 国产在线国偷精品产拍免费yy| 韩国成人在线视频| 国产成人在线看| 91欧美一区二区| 欧美日韩一区三区| 欧美一区二区日韩| 久久久久久97三级| 中文字幕色av一区二区三区| 亚洲精品菠萝久久久久久久| 一二三区精品视频| 日韩高清不卡一区二区| 紧缚奴在线一区二区三区| 高清不卡在线观看| 色综合久久九月婷婷色综合| 欧美视频在线观看一区| 精品欧美久久久| 国产精品久久二区二区| 亚洲一区av在线| 激情文学综合网| www.性欧美| 欧美精品日韩综合在线| www国产成人免费观看视频 深夜成人网| 久久麻豆一区二区| 亚洲婷婷综合色高清在线| 日韩精品欧美精品| 国产不卡免费视频| 欧美日韩日本视频| ww亚洲ww在线观看国产| 一区二区在线观看视频在线观看| 日本不卡中文字幕| 成人黄色av电影| 欧美丰满少妇xxxxx高潮对白| 久久女同性恋中文字幕| 亚洲国产日日夜夜| 岛国精品在线观看| 7777精品伊人久久久大香线蕉经典版下载 | 色诱视频网站一区| 日韩免费在线观看| 亚洲免费av观看| 国产美女在线精品| 欧美日韩一区成人| 国产精品美女视频| 麻豆精品视频在线观看| 色综合天天综合网国产成人综合天| 日韩精品一区二区三区三区免费| 亚洲蜜臀av乱码久久精品蜜桃| 精品在线你懂的| 欧美色男人天堂| 国产精品乱码一区二区三区软件 | 欧美中文字幕亚洲一区二区va在线| 久久综合色播五月| 日韩国产成人精品| 91蜜桃网址入口| 中文文精品字幕一区二区| 首页国产丝袜综合| 色综合天天在线| 国产精品毛片久久久久久久| 久久精品国产一区二区| 欧美日韩亚洲综合一区二区三区 | 国产欧美一二三区| 韩国av一区二区三区四区| 欧美精品 国产精品| 亚洲精选一二三| 99久久免费视频.com| 久久蜜桃一区二区| 麻豆91在线观看| 欧美一区二区三区播放老司机| 亚洲午夜久久久久久久久电影网 | 自拍偷在线精品自拍偷无码专区 | 一区二区三区免费看视频| 成人黄色小视频在线观看| 日韩欧美不卡一区| 日本不卡一区二区| 91麻豆精品国产91久久久资源速度| 亚洲视频免费看| 94色蜜桃网一区二区三区| 中文字幕一区二区三区av| 成人免费看视频| 国产精品二区一区二区aⅴ污介绍| 国产精品亚洲午夜一区二区三区| 日韩精品一区在线观看| 久久精品国产精品亚洲综合| 欧美福利电影网| 免费精品视频在线| 日韩久久久久久| 国产麻豆一精品一av一免费| 欧美不卡一区二区三区| 老司机午夜精品99久久| 精品国产乱码久久久久久老虎| 六月丁香婷婷久久| 久久亚区不卡日本| 国产成人精品亚洲日本在线桃色 | 久久美女高清视频| 粉嫩高潮美女一区二区三区| 国产精品久久久久一区| 色婷婷国产精品| 视频一区中文字幕国产| 日韩一级成人av| 国产高清一区日本| ●精品国产综合乱码久久久久| 色综合咪咪久久| 亚洲福中文字幕伊人影院| 日韩一区二区三区四区| 国产精品综合二区| 亚洲卡通动漫在线| 91麻豆精品国产自产在线观看一区| 麻豆精品新av中文字幕| 国产日韩成人精品| 欧美在线一区二区三区| 美女性感视频久久| 中文字幕巨乱亚洲| 欧美在线观看一区| 看电影不卡的网站| 国产精品成人一区二区三区夜夜夜| 色婷婷av一区二区三区之一色屋| 肉丝袜脚交视频一区二区| 久久综合久久综合久久综合| 91麻豆精东视频| 美女免费视频一区| 亚洲欧美成人一区二区三区|