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

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

?? resultset.java

?? mysql jdbc驅(qū)動(dòng)程序 mysql jdbc驅(qū)動(dòng)程序 mysql jdbc驅(qū)動(dòng)程序 mysql jdbc驅(qū)動(dòng)程序
?? JAVA
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
	 *                set type is TYPE_FORWARD_ONLY.	 */	public boolean absolute(int row) throws SQLException {		checkClosed();		boolean b;		if (this.rowData.size() == 0) {			b = false;		} else {			if (row == 0) {				throw SQLError.createSQLException(						Messages								.getString("ResultSet.Cannot_absolute_position_to_row_0_110"), //$NON-NLS-1$						SQLError.SQL_STATE_ILLEGAL_ARGUMENT);			}			if (this.onInsertRow) {				this.onInsertRow = false;			}			if (this.doingUpdates) {				this.doingUpdates = false;			}			if (row == 1) {				b = first();			} else if (row == -1) {				b = last();			} else if (row > this.rowData.size()) {				afterLast();				b = false;			} else {				if (row < 0) {					// adjust to reflect after end of result set					int newRowPosition = this.rowData.size() + row + 1;					if (newRowPosition <= 0) {						beforeFirst();						b = false;					} else {						b = absolute(newRowPosition);					}				} else {					row--; // adjust for index difference					this.rowData.setCurrentRow(row);					this.thisRow = this.rowData.getAt(row);					b = true;				}			}		}		return b;	}	/**	 * 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 void afterLast() throws SQLException {		checkClosed();		if (this.onInsertRow) {			this.onInsertRow = false;		}		if (this.doingUpdates) {			this.doingUpdates = false;		}		if (this.rowData.size() != 0) {			this.rowData.afterLast();			this.thisRow = null;		}	}	/**	 * 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 void beforeFirst() throws SQLException {		checkClosed();		if (this.onInsertRow) {			this.onInsertRow = false;		}		if (this.doingUpdates) {			this.doingUpdates = false;		}		if (this.rowData.size() == 0) {			return;		}		this.rowData.beforeFirst();		this.thisRow = null;	}	// ---------------------------------------------------------------------	// Traversal/Positioning	// ---------------------------------------------------------------------	/**	 * Builds a hash between column names and their indices for fast retrieval.	 */	protected void buildIndexMapping() throws SQLException {		int numFields = this.fields.length;		this.columnNameToIndex = new TreeMap(String.CASE_INSENSITIVE_ORDER);		this.fullColumnNameToIndex = new TreeMap(String.CASE_INSENSITIVE_ORDER);						// We do this in reverse order, so that the 'first' column		// with a given name ends up as the final mapping in the		// hashtable...		//		// Quoting the JDBC Spec:		//		// "Column names used as input to getter		// methods are case insensitive. When a getter method is called with a		// column		// name and several columns have the same name, the value of the first		// matching column will be returned. "		//		for (int i = numFields - 1; i >= 0; i--) {			Integer index = new Integer(i);			String columnName = this.fields[i].getName();			String fullColumnName = this.fields[i].getFullName();			if (columnName != null) {							this.columnNameToIndex.put(columnName, index);			}			if (fullColumnName != null) {				this.fullColumnNameToIndex.put(fullColumnName, index);			}		}		// set the flag to prevent rebuilding...		this.hasBuiltIndexMapping = true;	}	/**	 * 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.	 * @throws NotUpdatable	 *             DOCUMENT ME!	 */	public void cancelRowUpdates() throws SQLException {		throw new NotUpdatable();	}	/**	 * Ensures that the result set is not closed	 * 	 * @throws SQLException	 *             if the result set is closed	 */	protected final void checkClosed() throws SQLException {		if (this.isClosed) {			throw SQLError.createSQLException(					Messages							.getString("ResultSet.Operation_not_allowed_after_ResultSet_closed_144"), //$NON-NLS-1$					SQLError.SQL_STATE_GENERAL_ERROR);		}	}	/**	 * Checks if columnIndex is within the number of columns in this result set.	 * 	 * @param columnIndex	 *            the index to check	 * 	 * @throws SQLException	 *             if the index is out of bounds	 */	protected final void checkColumnBounds(int columnIndex) throws SQLException {		if ((columnIndex < 1)) {			throw SQLError.createSQLException(Messages.getString(					"ResultSet.Column_Index_out_of_range_low", new Object[] {							new Integer(columnIndex),							new Integer(this.fields.length) }),					SQLError.SQL_STATE_ILLEGAL_ARGUMENT); //$NON-NLS-1$		} else if ((columnIndex > this.fields.length)) {			throw SQLError.createSQLException(Messages.getString(					"ResultSet.Column_Index_out_of_range_high", new Object[] {							new Integer(columnIndex),							new Integer(this.fields.length) }),					SQLError.SQL_STATE_ILLEGAL_ARGUMENT); //$NON-NLS-1$		}		if (this.profileSql || this.useUsageAdvisor) {			this.columnUsed[columnIndex - 1] = true;		}	}	/**	 * Ensures that the cursor is positioned on a valid row and that the result	 * set is not closed	 * 	 * @throws SQLException	 *             if the result set is not in a valid state for traversal	 */	protected void checkRowPos() throws SQLException {		checkClosed();		if (!this.rowData.isDynamic() && (this.rowData.size() == 0)) {			throw SQLError.createSQLException(					Messages							.getString("ResultSet.Illegal_operation_on_empty_result_set"),					SQLError.SQL_STATE_GENERAL_ERROR);		}		if (this.rowData.isBeforeFirst()) {			throw SQLError.createSQLException(Messages					.getString("ResultSet.Before_start_of_result_set_146"),					SQLError.SQL_STATE_GENERAL_ERROR); //$NON-NLS-1$		}		if (this.rowData.isAfterLast()) {			throw SQLError.createSQLException(Messages					.getString("ResultSet.After_end_of_result_set_148"),					SQLError.SQL_STATE_GENERAL_ERROR); //$NON-NLS-1$		}	}	/**	 * We can't do this ourselves, otherwise the contract for	 * Statement.getMoreResults() won't work correctly.	 */	protected void clearNextResult() {		this.nextResultSet = null;	}	/**	 * After this call, getWarnings returns null until a new warning is reported	 * for this ResultSet	 * 	 * @exception SQLException	 *                if a database access error occurs	 */	public void clearWarnings() throws SQLException {		this.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 SQLException	 *                if a database access error occurs	 */	public void close() throws SQLException {		realClose(true);	}	/**	 * @return	 */	private int convertToZeroWithEmptyCheck() throws SQLException {		if (this.connection.getEmptyStringsConvertToZero()) {			return 0;		}		throw SQLError.createSQLException("Can't convert empty string ('') to numeric",				SQLError.SQL_STATE_INVALID_CHARACTER_VALUE_FOR_CAST);	}		private String convertToZeroLiteralStringWithEmptyCheck()		throws SQLException {				if (this.connection.getEmptyStringsConvertToZero()) {			return "0";		}		throw SQLError.createSQLException("Can't convert empty string ('') to numeric",				SQLError.SQL_STATE_INVALID_CHARACTER_VALUE_FOR_CAST);	}	//	// Note, row data is linked between these two result sets	//	protected final ResultSet copy() throws SQLException {		ResultSet rs = new ResultSet(this.catalog, this.fields, this.rowData,				this.connection, this.owningStatement);		return rs;	}	protected void redefineFieldsForDBMD(Field[] f) {		this.fields = f;				for (int i = 0; i < this.fields.length; i++) {			this.fields[i].setUseOldNameMetadata(true);			this.fields[i].setConnection(this.connection);		}	}	/**	 * 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 NotUpdatable	 *             DOCUMENT ME!	 */	public void deleteRow() throws SQLException {		throw new NotUpdatable();	}	/**	 * @param columnIndex	 * @param stringVal	 * @param mysqlType	 * @return	 * @throws SQLException	 */	private String extractStringFromNativeColumn(int columnIndex, int mysqlType)			throws SQLException {		int columnIndexMinusOne = columnIndex - 1;		this.wasNullFlag = false;				if (this.thisRow[columnIndexMinusOne] instanceof String) {			return (String) this.thisRow[columnIndexMinusOne];		}		if (this.thisRow[columnIndexMinusOne] == null) {			this.wasNullFlag = true;						return null;		}		this.wasNullFlag = false;				String stringVal = null;		if ((this.connection != null) && this.connection.getUseUnicode()) {			try {				String encoding = this.fields[columnIndexMinusOne]						.getCharacterSet();				if (encoding == null) {					stringVal = new String(							(byte[]) this.thisRow[columnIndexMinusOne]);				} else {					SingleByteCharsetConverter converter = this.connection							.getCharsetConverter(encoding);					if (converter != null) {						stringVal = converter								.toString((byte[]) this.thisRow[columnIndexMinusOne]);					} else {						stringVal = new String(								(byte[]) this.thisRow[columnIndexMinusOne],								encoding);					}				}			} catch (java.io.UnsupportedEncodingException E) {				throw SQLError.createSQLException(						Messages								.getString("ResultSet.Unsupported_character_encoding____138") //$NON-NLS-1$								+ this.connection.getEncoding() + "'.", "0S100");			}		} else {			stringVal = StringUtils					.toAsciiString((byte[]) this.thisRow[columnIndexMinusOne]);		}				return stringVal;	}	private synchronized Date fastDateCreate(Calendar cal, int year, int month,			int day) {		if (cal == null) {			createCalendarIfNeeded();			cal = this.fastDateCal;		}		boolean useGmtMillis = this.connection.getUseGmtMillisForDatetimes();								return TimeUtil.fastDateCreate(useGmtMillis,				useGmtMillis ? getGmtCalendar() : null,				cal, year, month, day);	}	private synchronized Time fastTimeCreate(Calendar cal, int hour,			int minute, int second) throws SQLException {		if (cal == null) {			createCalendarIfNeeded();			cal = this.fastDateCal;		}		return TimeUtil.fastTimeCreate(cal, hour, minute, second);	}	private synchronized Timestamp fastTimestampCreate(Calendar cal, int year,			int month, int day, int hour, int minute, int seconds,			int secondsPart) {		if (cal == null) {			createCalendarIfNeeded();			cal = this.fastDateCal;		}		boolean useGmtMillis = this.connection.getUseGmtMillisForDatetimes();				return TimeUtil.fastTimestampCreate(useGmtMillis,				useGmtMillis ? getGmtCalendar() : null,				cal, year, month, day, hour,				minute, seconds, secondsPart);	}	/*	/**	 * Required by JDBC spec	 */	/*	protected void finalize() throws Throwable {		if (!this.isClosed) {			realClose(false);		}	}	*/	// --------------------------JDBC 2.0-----------------------------------	// ---------------------------------------------------------------------	// Getter's and Setter's	// ---------------------------------------------------------------------	/**	 * Map a ResultSet column name to a ResultSet column index	 * 	 * @param columnName	 *            the name of the column	 * 	 * @return the column index	 * 	 * @exception SQLException	 *                if a database access error occurs	 */	public synchronized int findColumn(String columnName) throws SQLException {		Integer index;		if (!this.hasBuiltIndexMapping) {			buildIndexMapping();		}		index = (Integer) this.columnNameToIndex.get(columnName);

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区二区免费在线电影| 一区二区三区精品视频| 欧美成人激情免费网| 欧美日韩激情一区| 精品视频一区二区不卡| 在线欧美小视频| 欧洲一区二区av| 欧美日韩国产综合久久 | 欧美色中文字幕| 色琪琪一区二区三区亚洲区| 91免费观看视频| 色综合久久99| 欧美日韩一级大片网址| 欧美欧美欧美欧美| 欧美一区二区三区喷汁尤物| 欧美不卡一二三| 久久久久综合网| 中文字幕精品三区| 亚洲自拍另类综合| 天堂av在线一区| 裸体一区二区三区| 国产在线麻豆精品观看| 国产69精品久久久久毛片| 成人av资源下载| 在线观看视频欧美| 欧美精品一二三四| 久久亚区不卡日本| 国产精品福利影院| 亚洲成人免费视频| 韩国av一区二区三区| 不卡免费追剧大全电视剧网站| 99久久夜色精品国产网站| 91久久线看在观草草青青| 555www色欧美视频| 精品欧美乱码久久久久久 | 亚洲综合无码一区二区| 秋霞午夜av一区二区三区| 国产精品综合网| 在线亚洲精品福利网址导航| 日韩色在线观看| 欧美激情一区二区三区不卡 | 午夜激情一区二区三区| 精品夜夜嗨av一区二区三区| jlzzjlzz亚洲日本少妇| 666欧美在线视频| 国产精品久久午夜夜伦鲁鲁| 午夜伦欧美伦电影理论片| 国产高清在线精品| 精品视频在线免费观看| 国产亚洲欧美激情| 亚洲高清一区二区三区| 国产精品白丝jk黑袜喷水| 在线国产电影不卡| 欧美精品一区二区三区在线| 亚洲精品网站在线观看| 韩国女主播成人在线| 色吧成人激情小说| 欧美精品一区二| 亚洲一二三区视频在线观看| 国产精品99久久久久久有的能看 | 国产女主播视频一区二区| 亚洲福利一区二区| gogo大胆日本视频一区| 欧美一二三四在线| 亚洲精品视频在线观看网站| 国产在线视频一区二区| 欧美三级电影网站| 国产精品久久久久影院老司| 久久成人羞羞网站| 精品视频色一区| ...av二区三区久久精品| 精品一区二区三区免费观看| 欧美美女bb生活片| 亚洲男人的天堂网| 成人激情午夜影院| 精品欧美一区二区三区精品久久| 亚洲成人免费在线观看| 色婷婷久久久综合中文字幕| 久久精品视频在线免费观看| 麻豆91精品91久久久的内涵| 欧美美女bb生活片| 伊人一区二区三区| 国产一级精品在线| 日韩美一区二区三区| 亚洲gay无套男同| 色婷婷av一区二区| 国产精品美女久久久久久久久 | 亚洲乱码一区二区三区在线观看| 国产精品888| 亚洲精品一区二区三区四区高清 | 成人激情av网| 国产偷国产偷亚洲高清人白洁 | 色中色一区二区| 国产精品女同互慰在线看| 国产精品99久久久| 久久久久久久久伊人| 久久精品二区亚洲w码| 日韩视频一区二区在线观看| 日本成人中文字幕| 91精品欧美一区二区三区综合在| 亚洲第一成年网| 欧美丰满少妇xxxxx高潮对白| 一区二区成人在线| 91精品福利在线| 一个色综合网站| 欧美日韩亚洲综合在线 | 国内精品伊人久久久久av一坑| 日韩三级精品电影久久久| 久久精品国产一区二区| 日韩久久免费av| 国产精品一区一区| 国产欧美视频一区二区| 不卡av在线免费观看| 亚洲免费观看高清完整版在线观看熊| 成人国产精品免费观看动漫| 亚洲日本电影在线| 在线视频中文字幕一区二区| 亚洲成人激情av| 91精品国产高清一区二区三区蜜臀| 爽好久久久欧美精品| 日韩一级免费观看| 激情欧美日韩一区二区| 欧美高清在线视频| 99re8在线精品视频免费播放| 一区二区在线观看免费| 欧美高清你懂得| 国产一区二区久久| 国产精品美女久久久久久久久| 色999日韩国产欧美一区二区| 亚洲v日本v欧美v久久精品| 91麻豆精品国产91久久久使用方法| 青青草原综合久久大伊人精品| 精品国产伦一区二区三区观看方式 | 色婷婷av一区二区三区之一色屋| 亚洲午夜激情网页| 日韩欧美国产一区在线观看| 国产精品91一区二区| 亚洲精品乱码久久久久久久久 | 亚洲天堂久久久久久久| 欧美日韩国产免费| 久久成人免费网站| 亚洲视频每日更新| 日韩一区二区影院| 国产91高潮流白浆在线麻豆 | 91麻豆精品视频| 偷拍日韩校园综合在线| 2014亚洲片线观看视频免费| 97久久人人超碰| 日韩不卡一区二区三区| 中文字幕乱码日本亚洲一区二区| 在线看一区二区| 久久 天天综合| 一区二区三区四区激情| 日韩欧美国产精品一区| 91免费观看视频| 精品一区二区精品| 亚洲已满18点击进入久久| 精品少妇一区二区三区免费观看| 91免费版在线| 国产精品亚洲专一区二区三区| 亚洲一区二区三区国产| 久久久99精品久久| 精品视频一区 二区 三区| 国产99久久久精品| 日本午夜一区二区| 中文字幕一区二区三区视频| 日韩精品一区二区三区三区免费| 99精品黄色片免费大全| 卡一卡二国产精品| 亚洲一区二区影院| 久久久高清一区二区三区| 欧美日韩在线播| 成人免费观看av| 麻豆精品一区二区| 亚洲动漫第一页| 国产精品国产精品国产专区不蜜| 日韩欧美国产一区二区三区 | 欧美一区2区视频在线观看| 91在线一区二区三区| 国产尤物一区二区| 免费一级片91| 亚洲一区二区三区自拍| 国产精品欧美一区喷水| 久久久久久久综合日本| 日韩欧美国产高清| 欧美美女激情18p| 欧美三电影在线| 色综合一个色综合亚洲| 成人天堂资源www在线| 激情小说亚洲一区| 蜜臀a∨国产成人精品| 亚洲一区二区三区美女| 亚洲精品日产精品乱码不卡| 国产精品国产精品国产专区不片| 久久久精品黄色| 337p粉嫩大胆色噜噜噜噜亚洲| 日韩手机在线导航| 日韩视频在线一区二区| 91精品国产综合久久精品性色| 欧美亚洲自拍偷拍|