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

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

?? jdbc4updatableresultset.java

?? 用于JAVA數據庫連接.解壓就可用,方便得很
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/*
 Copyright (C) 2002-2007 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 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.InputStream;
import java.io.Reader;
import java.io.UnsupportedEncodingException;
import java.sql.NClob;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLXML;

import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Field;
import com.mysql.jdbc.NotUpdatable;
import com.mysql.jdbc.RowData;
import com.mysql.jdbc.Statement;
import com.mysql.jdbc.StringUtils;
import com.mysql.jdbc.UpdatableResultSet;

import com.mysql.jdbc.exceptions.NotYetImplementedException;

public class JDBC4UpdatableResultSet extends UpdatableResultSet {
	public JDBC4UpdatableResultSet(String catalog, Field[] fields, RowData tuples, 
			ConnectionImpl conn, StatementImpl creatorStmt) throws SQLException {
		super(catalog, fields, tuples, conn, creatorStmt);
	}

	public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
		throw new NotUpdatable();
		
	}
	
	public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
		throw new NotUpdatable();
	}

	public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
		throw new NotUpdatable();
		
	}


	public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateClob(int columnIndex, Reader reader) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
		updateNCharacterStream(columnIndex, x, (int) length);
		
	}
	

	public void updateNClob(int columnIndex, Reader reader) throws SQLException {
		throw new NotUpdatable();
		
	}

	public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
		throw new NotUpdatable();
	}

	public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
		throw new NotUpdatable();
		
	}
	
	public void updateRowId(int columnIndex, RowId x) throws SQLException {
		throw new NotUpdatable();
	}

	public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
		updateAsciiStream(findColumn(columnLabel), x);	
	}

	public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException {
		updateAsciiStream(findColumn(columnLabel), x, length);
	}

	public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
		updateBinaryStream(findColumn(columnLabel), x);
	}

	public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException {
		updateBinaryStream(findColumn(columnLabel), x, length);
	}

	public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
		updateBlob(findColumn(columnLabel), inputStream);
	}

	public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
		updateBlob(findColumn(columnLabel), inputStream, length);
	}

	public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException {
		updateCharacterStream(findColumn(columnLabel), reader);
	}

	public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
		updateCharacterStream(findColumn(columnLabel), reader, length);
	}
	
	public void updateClob(String columnLabel, Reader reader) throws SQLException {
		updateClob(findColumn(columnLabel), reader);
	}

	public void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
		updateClob(findColumn(columnLabel), reader, length);
	}
	
	public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException {
		updateNCharacterStream(findColumn(columnLabel), reader);
		
	}

	public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
		updateNCharacterStream(findColumn(columnLabel), reader, length);
	}


	public void updateNClob(String columnLabel, Reader reader) throws SQLException {
		updateNClob(findColumn(columnLabel), reader);
		
	}

	public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
		updateNClob(findColumn(columnLabel), reader, length);
	}

	public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
		updateSQLXML(findColumn(columnLabel), xmlObject);
		
	}

	/**
	 * JDBC 4.0 Update a column with a character stream value. 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 columnIndex
	 *            the first column is 1, the second is 2, ...
	 * @param x
	 *            the new column value
	 * @param length
	 *            the length of the stream
	 * 
	 * @exception SQLException
	 *                if a database-access error occurs
	 */
	public synchronized void updateNCharacterStream(int columnIndex,
	        java.io.Reader x, int length) throws SQLException {
	    String fieldEncoding = this.fields[columnIndex - 1].getCharacterSet();
	    if (fieldEncoding == null || !fieldEncoding.equals("UTF-8")) {
	        throw new SQLException(
	                "Can not call updateNCharacterStream() when field's character set isn't UTF-8");
	    }
	    
	    if (!this.onInsertRow) {
	        if (!this.doingUpdates) {
	            this.doingUpdates = true;
	            syncUpdate();
	        }
	
	        ((com.mysql.jdbc.JDBC4PreparedStatement)this.updater).setNCharacterStream(columnIndex, x, length);
	    } else {
	    	((com.mysql.jdbc.JDBC4PreparedStatement)this.inserter).setNCharacterStream(columnIndex, x, length);
	
	        if (x == null) {
	            this.thisRow.setColumnValue(columnIndex, null);
	        } else {
	        	 this.thisRow.setColumnValue(columnIndex, STREAM_DATA_MARKER);
	        }
	    }
	}

	/**
	 * JDBC 4.0 Update a column with a character stream value. 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 reader
	 *            the new column value
	 * @param length
	 *            of the stream
	 * 
	 * @exception SQLException
	 *                if a database-access error occurs
	 */
	public synchronized void updateNCharacterStream(String columnName,
	        java.io.Reader reader, int length) throws SQLException {
	    updateNCharacterStream(findColumn(columnName), reader, length);
	}

	/**
	 * @see ResultSet#updateNClob(int, NClob)
	 */
	public void updateNClob(int columnIndex, java.sql.NClob nClob)
	        throws SQLException {
	    String fieldEncoding = this.fields[columnIndex - 1].getCharacterSet();
	    if (fieldEncoding == null || !fieldEncoding.equals("UTF-8")) {
	        throw new SQLException("Can not call updateNClob() when field's character set isn't UTF-8");
	    }
	    
	    if (nClob == null) {
	        updateNull(columnIndex);
	    } else {
	        updateNCharacterStream(columnIndex, nClob.getCharacterStream(),
	                (int) nClob.length());
	    }
	}

	/**
	 * @see ResultSet#updateClob(int, Clob)
	 */
	public void updateNClob(String columnName, java.sql.NClob nClob)
	        throws SQLException {
	    updateNClob(findColumn(columnName), nClob);
	}

	/**
	 * 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 columnIndex
	 *            the first column is 1, the second is 2, ...
	 * @param x
	 *            the new column value
	 * 
	 * @exception SQLException
	 *                if a database-access error occurs
	 */
	public synchronized void updateNString(int columnIndex, String x)
	        throws SQLException {
	    String fieldEncoding = this.fields[columnIndex - 1].getCharacterSet();
	    if (fieldEncoding == null || !fieldEncoding.equals("UTF-8")) {
	        throw new SQLException("Can not call updateNString() when field's character set isn't UTF-8");
	    }
	    
	    if (!this.onInsertRow) {
	        if (!this.doingUpdates) {
	            this.doingUpdates = true;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕亚洲区| 欧美视频一区二区在线观看| 亚洲 欧美综合在线网络| 欧美国产成人在线| 精品美女在线播放| 在线观看视频一区| 国产伦精品一区二区三区免费| 亚洲最新视频在线观看| 国产精品视频看| 国产亚洲污的网站| 国产人成一区二区三区影院| 日韩一区二区三免费高清| 欧美三级蜜桃2在线观看| 一本色道亚洲精品aⅴ| 91在线观看一区二区| 成人蜜臀av电影| 99久久综合国产精品| 99久久精品一区| 色素色在线综合| 丁香六月久久综合狠狠色| 麻豆91免费观看| 亚洲成人免费电影| 视频一区二区国产| 日韩国产欧美一区二区三区| 欧美a级一区二区| 蜜桃视频在线观看一区二区| 精品一区二区在线看| 国产一区二三区| 成人免费精品视频| 日本二三区不卡| 欧美老年两性高潮| 欧美欧美欧美欧美| 欧美日韩视频在线第一区| 欧美精品久久一区二区三区| 日韩精品一区二区三区四区视频| 精品国产伦一区二区三区观看体验| 久久精品日韩一区二区三区| 成人欧美一区二区三区1314| 亚洲欧美成人一区二区三区| 午夜国产精品一区| 国产成人综合在线观看| 99久久精品国产一区二区三区| 欧美性猛交xxxxxxxx| 欧美成人精品二区三区99精品| 国产精品天干天干在线综合| 亚洲免费在线观看视频| 午夜激情久久久| 国产精品一区二区久激情瑜伽| 一本一本大道香蕉久在线精品| 欧美电影影音先锋| 中文字幕av一区二区三区免费看| 亚洲综合色在线| 狠狠色丁香婷综合久久| 不卡视频免费播放| 日韩欧美一级精品久久| **网站欧美大片在线观看| 日本成人在线网站| 色视频欧美一区二区三区| 精品日韩在线观看| 一区二区视频免费在线观看| 人禽交欧美网站| 色综合视频在线观看| 精品国产乱码久久久久久老虎| 一区二区在线电影| 国产精品996| 91精品国产91热久久久做人人| 国产精品久久久久久久久免费相片| 蜜臀久久99精品久久久久久9 | 免费观看在线综合色| 一本在线高清不卡dvd| 26uuu亚洲综合色| 日韩国产精品久久久| 91极品视觉盛宴| 亚洲欧洲精品成人久久奇米网| 国产一区二区福利| 欧美一级片在线| 亚洲一区二区在线观看视频| caoporen国产精品视频| 国产嫩草影院久久久久| 激情深爱一区二区| 日韩欧美综合在线| 日本成人在线不卡视频| 91免费看视频| 亚洲欧洲另类国产综合| 国产成人综合在线播放| 精品久久人人做人人爽| 另类成人小视频在线| 欧美一级欧美三级在线观看| 视频一区欧美日韩| 69堂亚洲精品首页| 日日夜夜免费精品| 欧美日韩精品一区二区三区蜜桃 | 99精品欧美一区二区蜜桃免费| 国产午夜精品一区二区三区嫩草| 韩国女主播一区二区三区| 制服丝袜成人动漫| 一区二区三区91| 色欧美88888久久久久久影院| 亚洲综合一区二区三区| 在线中文字幕一区| 亚洲va中文字幕| 9191精品国产综合久久久久久 | 精品国产第一区二区三区观看体验| 日韩国产欧美在线观看| 日韩一级二级三级精品视频| 九九精品一区二区| 久久精品人人做人人综合| 成人免费看视频| 亚洲综合视频网| 日韩精品自拍偷拍| 国产成人8x视频一区二区| 国产免费成人在线视频| 国产 日韩 欧美大片| 中文字幕在线不卡一区 | 一区二区三区美女| 91麻豆精品国产自产在线观看一区 | 日本欧美在线看| 日韩一卡二卡三卡国产欧美| 国产一区二区精品在线观看| 国产精品青草久久| 欧美性一级生活| 黄色日韩三级电影| 亚洲精品国久久99热| 日韩一级片网址| a在线播放不卡| 一区二区三区欧美日| 91精品国产综合久久精品图片| 国产精品香蕉一区二区三区| 亚洲女人的天堂| 精品国产一区久久| 日本韩国欧美一区二区三区| 国产一区二区精品久久| 亚洲国产精品欧美一二99| 久久新电视剧免费观看| 色天使色偷偷av一区二区| 奇米在线7777在线精品| 国产精品素人一区二区| 欧美一区二区视频在线观看| 99天天综合性| 国产一区二区三区四区五区入口| 一区二区三区在线播| 久久久综合视频| 欧美丰满美乳xxx高潮www| 国产精品亚洲专一区二区三区 | 欧美精品一区二区三区久久久| 色视频欧美一区二区三区| 国产精品一区二区免费不卡| 国产一区二区三区精品欧美日韩一区二区三区 | 国产成人久久精品77777最新版本| 日韩—二三区免费观看av| 同产精品九九九| 日韩在线观看一区二区| 日韩精品每日更新| 丝袜a∨在线一区二区三区不卡| 亚洲一卡二卡三卡四卡无卡久久 | 国产乱码精品一区二区三区五月婷| 美女爽到高潮91| 久久成人综合网| 激情欧美一区二区| 国产成人av电影免费在线观看| 粉嫩13p一区二区三区| 成人国产精品免费| 色综合天天综合网天天看片| 欧美在线一二三| 日韩午夜激情av| 国产亚洲欧美色| 亚洲日本免费电影| 午夜亚洲福利老司机| 麻豆国产精品视频| 国产 日韩 欧美大片| 色综合久久久网| 日韩欧美的一区二区| 国产欧美精品一区| 一区二区三区四区激情| 蜜臀av一区二区三区| proumb性欧美在线观看| 在线一区二区视频| 精品久久久网站| 自拍偷拍国产精品| 日本不卡123| 成人高清免费观看| 欧美情侣在线播放| 国产欧美一区二区三区网站| 亚洲精品视频免费看| 激情综合五月婷婷| 在线影视一区二区三区| 久久青草欧美一区二区三区| 一区二区久久久久久| 激情文学综合网| 欧美伊人久久久久久午夜久久久久| 精品久久久久一区| 亚洲国产日韩a在线播放| 豆国产96在线|亚洲| 91精品国产综合久久久久久久| 中文字幕一区二区三区不卡在线 | 久久国产人妖系列| 欧美中文字幕亚洲一区二区va在线| 久久婷婷成人综合色| 日韩精品一二三| 91久久一区二区|