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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? jdbc4updatableresultset.java

?? 用于JAVA數(shù)據(jù)庫連接.解壓就可用,方便得很
?? 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;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产女同互慰高潮91漫画| 中文字幕一区二区三区四区| 欧美大尺度电影在线| 国产精品美女久久福利网站| 久久99国产精品免费| 日韩欧美国产电影| 国产很黄免费观看久久| 日韩一区二区不卡| 美女免费视频一区二区| 欧美精品三级在线观看| 国内成人免费视频| 欧美精品一区二区久久婷婷| 久久国产精品色婷婷| 国产亚洲欧美中文| 欧美日本一区二区| 国产日韩欧美不卡| 亚洲午夜激情网站| 久久男人中文字幕资源站| 在线观看av一区| 国产成人亚洲综合a∨婷婷图片| 中文字幕亚洲在| 久久国产生活片100| 成人午夜精品在线| 亚洲国产综合视频在线观看| 精品精品国产高清一毛片一天堂| 色av成人天堂桃色av| 亚洲在线观看免费| 欧美在线观看禁18| 日本免费在线视频不卡一不卡二| av一区二区久久| 国产喷白浆一区二区三区| 一区二区三区不卡视频在线观看| 99综合影院在线| 日本欧美一区二区三区乱码| 亚洲欧美色图小说| 国产亚洲欧美日韩俺去了| 日本韩国精品在线| 高清国产一区二区| 国产麻豆一精品一av一免费| 亚洲亚洲精品在线观看| 中文字幕中文在线不卡住| 欧美体内she精高潮| 国产大陆亚洲精品国产| 久久99精品国产麻豆婷婷洗澡| 亚洲精品一二三| 亚洲蜜臀av乱码久久精品蜜桃| 国产目拍亚洲精品99久久精品| 日韩欧美一区二区视频| 91麻豆精品91久久久久久清纯| 欧美成人免费网站| 欧美韩国日本一区| 97精品超碰一区二区三区| 亚洲午夜激情网站| 777久久久精品| 国产一区二区三区视频在线播放| 国产精品欧美久久久久一区二区| 91国在线观看| 欧美日韩国产高清一区二区三区| 欧美日韩二区三区| 国产麻豆成人精品| 亚洲自拍欧美精品| 欧美国产成人在线| 日韩一区二区三区免费看 | 成人天堂资源www在线| 成人中文字幕合集| 成人网在线播放| 欧美自拍偷拍午夜视频| 91精品国产品国语在线不卡| 欧美一级欧美三级在线观看| 久久午夜羞羞影院免费观看| 欧美高清在线视频| 亚洲一区电影777| 国产成人午夜高潮毛片| av日韩在线网站| 3d成人h动漫网站入口| 久久久精品人体av艺术| 亚洲综合免费观看高清完整版| 三级影片在线观看欧美日韩一区二区| 亚洲福利一区二区| 国产一区在线视频| 欧美三级日本三级少妇99| 精品国产乱码久久久久久图片| 中文字幕一区二区三区四区| 久久er99精品| 欧美日本一道本在线视频| 国产精品久久久久婷婷二区次| 亚洲va中文字幕| 在线视频你懂得一区二区三区| 欧美tickling网站挠脚心| 樱花草国产18久久久久| 东方aⅴ免费观看久久av| 日韩欧美国产综合| 婷婷久久综合九色国产成人| 在线观看国产精品网站| 亚洲欧美一区二区在线观看| 国产激情精品久久久第一区二区| 欧美高清视频一二三区 | 欧美一级电影网站| 亚洲一区二区在线视频| 国产精品18久久久久| 在线视频欧美区| 亚洲电影一级片| 欧美精品高清视频| 免费成人深夜小野草| 日韩一区二区三区在线观看| 奇米色一区二区| 欧美xxxxxxxxx| 国产一区二区网址| 久久久不卡网国产精品一区| 国产美女视频91| 中文字幕成人网| 亚洲精品国产高清久久伦理二区| 国产专区欧美精品| 欧美高清在线视频| 欧美日韩三级一区| 国内精品视频一区二区三区八戒 | 一本一本大道香蕉久在线精品 | 五月婷婷激情综合| 26uuu亚洲| 欧美色成人综合| 国内精品自线一区二区三区视频| 国产精品毛片高清在线完整版| 色呦呦一区二区三区| 韩国av一区二区| 亚洲bt欧美bt精品| 国产精品热久久久久夜色精品三区| 成人av电影免费观看| 日韩电影在线观看一区| 中文字幕中文字幕一区| 在线观看91av| 91福利国产成人精品照片| 国产一区二区导航在线播放| 亚洲第四色夜色| 一二三区精品视频| 亚洲欧洲综合另类| 国产欧美一区二区三区在线老狼| 日韩一区二区三区在线| 精品视频免费看| 色拍拍在线精品视频8848| 成人美女视频在线看| 国产高清亚洲一区| 久久99精品国产麻豆婷婷| 天天操天天色综合| 亚洲精品日日夜夜| 亚洲欧美日韩精品久久久久| 国产精品久久久久影院亚瑟| 国产色综合一区| 国产欧美一区二区三区沐欲| 久久精品一区蜜桃臀影院| 精品日韩在线观看| 久久久久高清精品| 国产日本亚洲高清| 国产精品天天摸av网| 中文字幕亚洲成人| 亚洲精品乱码久久久久久黑人| 日韩一区有码在线| 亚洲蜜臀av乱码久久精品蜜桃| 亚洲最快最全在线视频| 亚洲无线码一区二区三区| 三级亚洲高清视频| 韩国av一区二区三区四区| 国产一区二区三区美女| av在线这里只有精品| 色婷婷国产精品久久包臀 | 国产乱码精品一区二区三区av| 国产制服丝袜一区| 日本乱人伦aⅴ精品| 欧美日韩色综合| 国产日韩欧美电影| 香蕉影视欧美成人| 国产麻豆视频一区二区| 欧美熟乱第一页| 久久久蜜桃精品| 性感美女极品91精品| 粉嫩一区二区三区性色av| 欧美三级电影网站| 中文幕一区二区三区久久蜜桃| 亚洲一区二区三区视频在线| 韩国av一区二区三区四区| 欧美揉bbbbb揉bbbbb| 国产精品热久久久久夜色精品三区| 午夜精品福利一区二区蜜股av| 粉嫩aⅴ一区二区三区四区五区| 欧美日韩另类国产亚洲欧美一级| 国产夜色精品一区二区av| 性做久久久久久免费观看欧美| 97se狠狠狠综合亚洲狠狠| 欧美精品一区二区三区久久久 | 日韩综合小视频| 在线视频国内自拍亚洲视频| 欧美国产乱子伦| 粉嫩高潮美女一区二区三区| 欧美精品一区二区在线播放| 久久国产乱子精品免费女| 欧美一级午夜免费电影| 日韩va欧美va亚洲va久久| 欧美久久一二三四区| 免费在线观看视频一区| 欧美一区二区三区在线观看视频| 丝袜美腿亚洲综合|