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

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

?? resultsetregressiontest.java

?? mysql jdbc驅動程序 mysql jdbc驅動程序 mysql jdbc驅動程序 mysql jdbc驅動程序
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
			this.rs.moveToInsertRow();			clob.setString(1, "baz");			this.rs.updateInt(1, 2);			this.rs.updateClob(2, clob);			this.rs.insertRow();			clob.setString(1, "bat");			this.rs.updateInt(1, 3);			this.rs.updateClob(2, clob);			this.rs.insertRow();			this.rs.close();			this.rs = this.stmt					.executeQuery("SELECT intField, clobField FROM testUpdateClob ORDER BY intField");			this.rs.next();			assertTrue((this.rs.getInt(1) == 1)					&& this.rs.getString(2).equals("bar"));			this.rs.next();			assertTrue((this.rs.getInt(1) == 2)					&& this.rs.getString(2).equals("baz"));			this.rs.next();			assertTrue((this.rs.getInt(1) == 3)					&& this.rs.getString(2).equals("bat"));		} finally {			this.stmt.executeUpdate("DROP TABLE IF EXISTS testUpdateClob");		}	}	/**	 * Tests fix for BUG#4482, ResultSet.getObject() returns wrong type for	 * strings when using prepared statements.	 *	 * @throws Exception	 *             if the test fails.	 */	public void testBug4482() throws Exception {		this.rs = this.conn.prepareStatement("SELECT 'abcdef'").executeQuery();		assertTrue(this.rs.next());		assertTrue(this.rs.getObject(1) instanceof String);	}	/**	 * Test fix for BUG#4689 - WasNull not getting set correctly for binary	 * result sets.	 */	public void testBug4689() throws Exception {		try {			this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug4689");			this.stmt					.executeUpdate("CREATE TABLE testBug4689 (tinyintField tinyint, tinyintFieldNull tinyint, "							+ "intField int, intFieldNull int, "							+ "bigintField bigint, bigintFieldNull bigint, "							+ "shortField smallint, shortFieldNull smallint, "							+ "doubleField double, doubleFieldNull double)");			this.stmt.executeUpdate("INSERT INTO testBug4689 VALUES (1, null, "					+ "1, null, " + "1, null, " + "1, null, " + "1, null)");			PreparedStatement pStmt = this.conn					.prepareStatement("SELECT tinyintField, tinyintFieldNull,"							+ "intField, intFieldNull, "							+ "bigintField, bigintFieldNull, "							+ "shortField, shortFieldNull, "							+ "doubleField, doubleFieldNull FROM testBug4689");			this.rs = pStmt.executeQuery();			assertTrue(this.rs.next());			assertTrue(this.rs.getByte(1) == 1);			assertTrue(this.rs.wasNull() == false);			assertTrue(this.rs.getByte(2) == 0);			assertTrue(this.rs.wasNull() == true);			assertTrue(this.rs.getInt(3) == 1);			assertTrue(this.rs.wasNull() == false);			assertTrue(this.rs.getInt(4) == 0);			assertTrue(this.rs.wasNull() == true);			assertTrue(this.rs.getInt(5) == 1);			assertTrue(this.rs.wasNull() == false);			assertTrue(this.rs.getInt(6) == 0);			assertTrue(this.rs.wasNull() == true);			assertTrue(this.rs.getShort(7) == 1);			assertTrue(this.rs.wasNull() == false);			assertTrue(this.rs.getShort(8) == 0);			assertTrue(this.rs.wasNull() == true);			assertTrue(this.rs.getDouble(9) == 1);			assertTrue(this.rs.wasNull() == false);			assertTrue(this.rs.getDouble(10) == 0);			assertTrue(this.rs.wasNull() == true);		} finally {			this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug4689");		}	}	/**	 * Tests fix for BUG#5032 -- ResultSet.getObject() doesn't return type	 * Boolean for pseudo-bit types from prepared statements on 4.1.x.	 *	 * @throws Exception	 *             if the test fails.	 */	public void testBug5032() throws Exception {		if (versionMeetsMinimum(4, 1)) {			PreparedStatement pStmt = null;			try {				this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug5032");				this.stmt.executeUpdate("CREATE TABLE testBug5032(field1 BIT)");				this.stmt.executeUpdate("INSERT INTO testBug5032 VALUES (1)");				pStmt = this.conn						.prepareStatement("SELECT field1 FROM testBug5032");				this.rs = pStmt.executeQuery();				assertTrue(this.rs.next());				assertTrue(this.rs.getObject(1) instanceof Boolean);			} finally {				this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug5032");				if (pStmt != null) {					pStmt.close();				}			}		}	}	/**	 * Tests fix for BUG#5069 -- ResultSet.getMetaData() should not return	 * incorrectly-initialized metadata if the result set has been closed, but	 * should instead throw a SQLException. Also tests fix for getRow() and	 * getWarnings() and traversal methods.	 *	 * @throws Exception	 *             if the test fails.	 */	public void testBug5069() throws Exception {		try {			this.rs = this.stmt.executeQuery("SELECT 1");			this.rs.close();			try {				ResultSetMetaData md = this.rs.getMetaData();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.getRow();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.getWarnings();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.first();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.beforeFirst();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.last();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.afterLast();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.relative(0);			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.next();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.previous();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.isBeforeFirst();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.isFirst();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.isAfterLast();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}			try {				this.rs.isLast();			} catch (NullPointerException npEx) {				fail("Should not catch NullPointerException here");			} catch (SQLException sqlEx) {				assertTrue(SQLError.SQL_STATE_GENERAL_ERROR.equals(sqlEx						.getSQLState()));			}		} finally {			if (this.rs != null) {				this.rs.close();				this.rs = null;			}		}	}	/**	 * Tests for BUG#5235, ClassCastException on all-zero date field when	 * zeroDatetimeBehavior is 'convertToNull'...however it appears that this	 * bug doesn't exist. This is a placeholder until we get more data from the	 * user on how they provoke this bug to happen.	 *	 * @throws Exception	 *             if the test fails.	 */	public void testBug5235() throws Exception {		try {			this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug5235");			this.stmt.executeUpdate("CREATE TABLE testBug5235(field1 DATE)");			this.stmt					.executeUpdate("INSERT INTO testBug5235 (field1) VALUES ('0000-00-00')");			Properties props = new Properties();			props.setProperty("zeroDateTimeBehavior", "convertToNull");			Connection nullConn = getConnectionWithProps(props);			this.rs = nullConn.createStatement().executeQuery(					"SELECT field1 FROM testBug5235");			this.rs.next();			assertTrue(null == this.rs.getObject(1));		} finally {			this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug5235");		}	}	/**	 * Tests for BUG#5136, GEOMETRY types getting corrupted, turns out to be a	 * server bug.	 *	 * @throws Exception	 *             if the test fails.	 */	public void testBug5136() throws Exception {		if (false) {			PreparedStatement toGeom = this.conn					.prepareStatement("select GeomFromText(?)");			PreparedStatement toText = this.conn					.prepareStatement("select AsText(?)");			String inText = "POINT(146.67596278 -36.54368233)";			// First assert that the problem is not at the server end			this.rs = this.stmt.executeQuery("select AsText(GeomFromText('"					+ inText + "'))");			this.rs.next();			String outText = this.rs.getString(1);			this.rs.close();			assertTrue(					"Server side only\n In: " + inText + "\nOut: " + outText,					inText.equals(outText));			// Now bring a binary geometry object to the client and send it back			toGeom.setString(1, inText);			this.rs = toGeom.executeQuery();			this.rs.next();			// Return a binary geometry object from the WKT			Object geom = this.rs.getObject(1);			this.rs.close();			toText.setObject(1, geom);			this.rs = toText.executeQuery();			this.rs.next();			// Return WKT from the binary geometry			outText = this.rs.getString(1);			this.rs.close();			assertTrue("Server to client and back\n In: " + inText + "\nOut: "					+ outText, inText.equals(outText));		}	}	/**	 * Tests fix for BUG#5664, ResultSet.updateByte() when on insert row throws	 * ArrayOutOfBoundsException.	 *	 * @throws Exception	 *             if the test fails.	 */	public void testBug5664() throws Exception {		try {			this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug5664");			this.stmt					.executeUpdate("CREATE TABLE testBug5664 (pkfield int PRIMARY KEY NOT NULL, field1 SMALLINT)");			this.stmt.executeUpdate("INSERT INTO testBug5664 VALUES (1, 1)");			Statement updatableStmt = this.conn					.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,							ResultSet.CONCUR_UPDATABLE);			this.rs = updatableStmt					.executeQuery("SELECT pkfield, field1 FROM testBug5664");			this.rs.next();			this.rs.moveToInsertRow();			this.rs.updateInt(1, 2);			this.rs.updateByte(2, (byte) 2);		} finally {			this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug5664");		}	}	public void testBogusTimestampAsString() throws Exception {		this.rs = this.stmt.executeQuery("SELECT '2004-08-13 13:21:17.'");		this.rs.next();		// We're only checking for an exception being thrown here as the bug		this.rs.getTimestamp(1);	}	/**	 * Tests our ability to reject NaN and +/- INF in	 * PreparedStatement.setDouble();	 */	public void testBug5717() throws Exception {		try {			this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug5717");			this.stmt.executeUpdate("CREATE TABLE testBug5717 (field1 DOUBLE)");			this.pstmt = this.conn					.prepareStatement("INSERT INTO testBug5717 VALUES (?)");			try {				this.pstmt.setDouble(1, Double.NEGATIVE_INFINITY);				fail("Exception should've been thrown");			} catch (Exception ex) {				// expected			}			try {				this.pstmt.setDouble(1, Double.POSITIVE_INFINITY);				fail("Exception should've been thrown");			} catch (Exception ex) {				// expected			}			try {				this.pstmt.setDouble(1, Double.NaN);				fail("Exception should've been thrown");			} catch (Exception ex) {				// expected			}		} finally {			if (this.pstmt != null) {				this.pstmt.close();			}			this.stmt.executeUpdate("DROP TABLE IF EXISTS testBug5717");		}	}	/**	 * Tests fix for server issue that drops precision on aggregate operations	 * on DECIMAL types, because they come back as DOUBLEs.	 *

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
依依成人精品视频| 亚洲高清免费视频| 欧美日本韩国一区| 国产成a人亚洲精品| 日韩中文字幕一区二区三区| 国产婷婷色一区二区三区| 精品视频一区二区不卡| 国产成人aaa| 男女视频一区二区| 亚洲精品欧美激情| 亚洲国产精品二十页| 欧美美女喷水视频| 91理论电影在线观看| 国产一区福利在线| 性欧美疯狂xxxxbbbb| 国产精品日日摸夜夜摸av| 欧美xxxx老人做受| 678五月天丁香亚洲综合网| 99热99精品| 成人av电影在线观看| 国产真实精品久久二三区| 丝袜诱惑制服诱惑色一区在线观看| 亚洲国产成人一区二区三区| 欧美日韩综合不卡| 国产欧美日韩三级| 久久先锋资源网| 精品少妇一区二区三区| 56国语精品自产拍在线观看| 在线影院国内精品| 色8久久人人97超碰香蕉987| 国产ts人妖一区二区| 国产一区二区不卡在线| 久久激情五月激情| 久久精品国产成人一区二区三区| 亚洲国产精品麻豆| 丝袜亚洲另类丝袜在线| 首页欧美精品中文字幕| 亚洲1区2区3区4区| 日本aⅴ精品一区二区三区| 亚洲成人久久影院| 日韩中文字幕麻豆| 免费观看在线综合色| 日韩高清在线一区| 日本最新不卡在线| 男男成人高潮片免费网站| 免费成人av在线播放| 久久精品二区亚洲w码| 美国十次综合导航| 国产真实乱子伦精品视频| 国产精品99久久久久久似苏梦涵| 国产激情91久久精品导航| 国产成人亚洲精品狼色在线| 成人免费不卡视频| 色欧美乱欧美15图片| 欧美中文字幕一二三区视频| 欧美亚洲动漫制服丝袜| 欧美日韩国产123区| 日韩午夜在线观看| 久久久www免费人成精品| 日本一区二区三区四区| 日韩毛片一二三区| 亚洲成人综合网站| 精彩视频一区二区三区| 99久久亚洲一区二区三区青草| 91麻豆免费看| 91精品国产综合久久久久久| 日韩久久久精品| www国产成人免费观看视频 深夜成人网| 久久久久久久免费视频了| 欧美国产精品专区| 亚洲欧洲综合另类在线| 日韩不卡一区二区三区| 国产电影一区二区三区| 色综合中文字幕国产 | 国产在线精品一区二区| 国产精品1区二区.| 色婷婷国产精品久久包臀| 3d动漫精品啪啪| 中文字幕精品综合| 亚洲成a人v欧美综合天堂下载| 欧美在线观看你懂的| 久久综合色天天久久综合图片| 中文字幕一区二区三区乱码在线 | 丝袜美腿亚洲一区| 国产精品自拍av| 欧美三区在线观看| 国产性天天综合网| 亚洲成av人片在线观看无码| 国产一区二区三区精品视频| 972aa.com艺术欧美| 日韩亚洲欧美在线| 亚洲丝袜制服诱惑| 狠狠色综合播放一区二区| 日本韩国一区二区三区视频| 精品免费一区二区三区| 一区二区三区高清在线| 国产高清在线精品| 日韩一级成人av| 亚洲人成网站色在线观看| 韩国精品在线观看| 欧美日韩一区三区四区| 欧美激情在线看| 麻豆精品久久精品色综合| 色综合视频在线观看| 国产亚洲综合av| 久久国产精品免费| 欧美日韩视频不卡| 一区二区三区在线视频免费| 国产成人av在线影院| 日韩三级视频在线看| 亚洲一区二区欧美日韩| 99免费精品在线观看| 国产欧美综合在线观看第十页| 蜜臂av日日欢夜夜爽一区| 欧美色手机在线观看| 亚洲免费毛片网站| 99久久伊人精品| 国产欧美精品一区二区色综合 | 亚洲欧美偷拍三级| 成人激情午夜影院| 国产日产亚洲精品系列| 久久精品国产亚洲一区二区三区| 欧美色欧美亚洲另类二区| 亚洲欧洲日韩在线| a在线播放不卡| 中文字幕在线视频一区| 国产成人精品免费看| 国产欧美一区二区三区鸳鸯浴| 精品一区二区三区在线视频| 日韩欧美一二区| 麻豆国产91在线播放| 欧美一区二区三区四区高清| 首页欧美精品中文字幕| 欧美精品tushy高清| 日韩av一级片| 日韩欧美国产不卡| 麻豆精品在线视频| 2023国产精品| 激情五月婷婷综合| 国产亚洲福利社区一区| 国产成人日日夜夜| 亚洲国产精品激情在线观看| 不卡av在线网| 一区二区免费视频| 欧美精品久久99| 美脚の诱脚舐め脚责91 | 色香蕉久久蜜桃| 亚洲综合一二三区| 欧美日韩性生活| 久久99国产精品成人| 久久久久国产精品厨房| 成人av在线播放网址| 亚洲另类春色校园小说| 欧美视频日韩视频| 美国精品在线观看| 中文久久乱码一区二区| 91在线精品一区二区| 亚洲韩国精品一区| 欧美www视频| av午夜精品一区二区三区| 亚洲制服欧美中文字幕中文字幕| 欧美一区二区观看视频| 国产一区二区三区在线观看精品 | 免费日韩伦理电影| 国产免费成人在线视频| 在线免费观看成人短视频| 日韩电影在线观看一区| 国产喷白浆一区二区三区| 在线精品亚洲一区二区不卡| 免费观看日韩电影| 国产精品网曝门| 欧美区一区二区三区| 国产伦精品一区二区三区视频青涩 | 欧美美女一区二区在线观看| 国内精品第一页| 亚洲男人的天堂av| 日韩欧美高清dvd碟片| 91在线一区二区| 老司机免费视频一区二区三区| 国产精品日日摸夜夜摸av| 69堂亚洲精品首页| 不卡一区在线观看| 秋霞影院一区二区| 国产精品国产三级国产aⅴ入口| 欧美日韩激情一区二区三区| 国产福利一区二区三区在线视频| 亚洲国产精品尤物yw在线观看| 久久精品在线观看| 91麻豆精品国产91| 99精品偷自拍| 国产乱子伦一区二区三区国色天香| 一区二区三区四区蜜桃| 久久久精品免费网站| 制服丝袜亚洲色图| 一道本成人在线| 国产91丝袜在线18| 免费成人av资源网| 性做久久久久久久久| 亚洲欧美日韩在线播放| 国产欧美一二三区|