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

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

?? statementstest.java

?? mysql jdbc驅(qū)動程序 mysql jdbc驅(qū)動程序 mysql jdbc驅(qū)動程序 mysql jdbc驅(qū)動程序
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
			assertTrue(this.rs.getString(6) + " != " + miMaximum, this.rs					.getString(6).equals(miMaximum));			assertTrue(this.rs.getString(7) + " != " + umiMaximum, this.rs					.getString(7).equals(umiMaximum));			assertTrue(this.rs.getString(8) + " != " + iMaximum, this.rs					.getString(8).equals(iMaximum));			assertTrue(this.rs.getString(9) + " != " + uiMaximum, this.rs					.getString(9).equals(uiMaximum));			assertTrue(this.rs.getString(10) + " != " + biMaximum, this.rs					.getString(10).equals(biMaximum));			assertTrue(this.rs.getString(11) + " != " + ubiMaximum, this.rs					.getString(11).equals(ubiMaximum));			assertTrue(!this.rs.next());		} finally {			this.stmt					.executeUpdate("DROP TABLE IF EXISTS testBinaryResultSetNumericTypes");		}	}	/**	 * Tests stored procedure functionality	 * 	 * @throws Exception	 *             if an error occurs.	 */	public void testCallableStatement() throws Exception {		if (versionMeetsMinimum(5, 0)) {			CallableStatement cStmt = null;			String stringVal = "abcdefg";			int intVal = 42;			try {				try {					this.stmt.executeUpdate("DROP PROCEDURE testCallStmt");				} catch (SQLException sqlEx) {					if (sqlEx.getMessage().indexOf("does not exist") == -1) {						throw sqlEx;					}				}				this.stmt.executeUpdate("DROP TABLE IF EXISTS callStmtTbl");				this.stmt						.executeUpdate("CREATE TABLE callStmtTbl (x CHAR(16), y INT)");				this.stmt						.executeUpdate("CREATE PROCEDURE testCallStmt(n INT, x CHAR(16), y INT)"								+ " WHILE n DO"								+ "    SET n = n - 1;"								+ "    INSERT INTO callStmtTbl VALUES (x, y);"								+ " END WHILE;");				int rowsToCheck = 15;				cStmt = this.conn.prepareCall("{call testCallStmt(?,?,?)}");				cStmt.setInt(1, rowsToCheck);				cStmt.setString(2, stringVal);				cStmt.setInt(3, intVal);				cStmt.execute();				this.rs = this.stmt.executeQuery("SELECT x,y FROM callStmtTbl");				int numRows = 0;				while (this.rs.next()) {					assertTrue(this.rs.getString(1).equals(stringVal)							&& (this.rs.getInt(2) == intVal));					numRows++;				}				this.rs.close();				this.rs = null;				cStmt.close();				cStmt = null;				System.out.println(rowsToCheck + " rows returned");				assertTrue(numRows == rowsToCheck);			} finally {				try {					this.stmt.executeUpdate("DROP PROCEDURE testCallStmt");				} catch (SQLException sqlEx) {					if (sqlEx.getMessage().indexOf("does not exist") == -1) {						throw sqlEx;					}				}				this.stmt.executeUpdate("DROP TABLE IF EXISTS callStmtTbl");				if (cStmt != null) {					cStmt.close();				}			}		}	}	public void testCancelStatement() throws Exception {		if (versionMeetsMinimum(5, 0)) {			Connection cancelConn = null;				try {				cancelConn = getConnectionWithProps((String)null);				final Statement cancelStmt = cancelConn.createStatement();							cancelStmt.setQueryTimeout(1);					long begin = System.currentTimeMillis();					try {					cancelStmt.execute("SELECT SLEEP(30)");				} catch (SQLException sqlEx) {					assertTrue("Probably wasn't actually cancelled", System							.currentTimeMillis()							- begin < 30000);				}					for (int i = 0; i < 1000; i++) {					try {						cancelStmt.executeQuery("SELECT 1");					} catch (SQLException timedOutEx) {						break;					}				}								// Make sure we can still use the connection...					cancelStmt.setQueryTimeout(0);				this.rs = cancelStmt.executeQuery("SELECT 1");					assertTrue(this.rs.next());				assertEquals(1, this.rs.getInt(1));					cancelStmt.setQueryTimeout(0);					new Thread() {						public void run() {						try {							try {								sleep(5000);							} catch (InterruptedException iEx) {								// ignore							}								cancelStmt.cancel();						} catch (SQLException sqlEx) {							throw new RuntimeException(sqlEx.toString());						}					}					}.start();					begin = System.currentTimeMillis();					try {					cancelStmt.execute("SELECT SLEEP(30)");				} catch (SQLException sqlEx) {					assertTrue("Probably wasn't actually cancelled", System							.currentTimeMillis()							- begin < 30000);				}					for (int i = 0; i < 1000; i++) {					try {						cancelStmt.executeQuery("SELECT 1");					} catch (SQLException timedOutEx) {						break;					}				}								// Make sure we can still use the connection...					this.rs = cancelStmt.executeQuery("SELECT 1");					assertTrue(this.rs.next());				assertEquals(1, this.rs.getInt(1));								final PreparedStatement cancelPstmt = cancelConn.prepareStatement("SELECT SLEEP(30)");								cancelPstmt.setQueryTimeout(1);					begin = System.currentTimeMillis();					try {					cancelPstmt.execute();				} catch (SQLException sqlEx) {					assertTrue("Probably wasn't actually cancelled", System							.currentTimeMillis()							- begin < 30000);				}					for (int i = 0; i < 1000; i++) {					try {						cancelPstmt.executeQuery("SELECT 1");					} catch (SQLException timedOutEx) {						break;					}				}								// Make sure we can still use the connection...					this.rs = cancelStmt.executeQuery("SELECT 1");					assertTrue(this.rs.next());				assertEquals(1, this.rs.getInt(1));					cancelPstmt.setQueryTimeout(0);					new Thread() {						public void run() {						try {							try {								sleep(5000);							} catch (InterruptedException iEx) {								// ignore							}															cancelPstmt.cancel();						} catch (SQLException sqlEx) {							throw new RuntimeException(sqlEx.toString());						}					}					}.start();					begin = System.currentTimeMillis();					try {					cancelPstmt.execute();				} catch (SQLException sqlEx) {					assertTrue("Probably wasn't actually cancelled", System							.currentTimeMillis()							- begin < 30000);				}					for (int i = 0; i < 1000; i++) {					try {						cancelPstmt.executeQuery("SELECT 1");					} catch (SQLException timedOutEx) {						break;					}				}								// Make sure we can still use the connection...					this.rs = cancelStmt.executeQuery("SELECT 1");					assertTrue(this.rs.next());				assertEquals(1, this.rs.getInt(1));								final PreparedStatement cancelClientPstmt = ((com.mysql.jdbc.Connection)cancelConn).clientPrepareStatement("SELECT SLEEP(30)");								cancelClientPstmt.setQueryTimeout(1);					begin = System.currentTimeMillis();					try {					cancelClientPstmt.execute();				} catch (SQLException sqlEx) {					assertTrue("Probably wasn't actually cancelled", System							.currentTimeMillis()							- begin < 30000);				}					for (int i = 0; i < 1000; i++) {					try {						cancelStmt.executeQuery("SELECT 1");					} catch (SQLException timedOutEx) {						break;					}				}								// Make sure we can still use the connection...					this.rs = cancelStmt.executeQuery("SELECT 1");					assertTrue(this.rs.next());				assertEquals(1, this.rs.getInt(1));					cancelClientPstmt.setQueryTimeout(0);					new Thread() {						public void run() {						try {							try {								sleep(5000);							} catch (InterruptedException iEx) {								// ignore							}															cancelClientPstmt.cancel();						} catch (SQLException sqlEx) {							throw new RuntimeException(sqlEx.toString());						}					}					}.start();					begin = System.currentTimeMillis();					try {					cancelClientPstmt.execute();				} catch (SQLException sqlEx) {					assertTrue("Probably wasn't actually cancelled", System							.currentTimeMillis()							- begin < 30000);				}					for (int i = 0; i < 1000; i++) {					try {						cancelClientPstmt.executeQuery("SELECT 1");					} catch (SQLException timedOutEx) {						break;					}				}								// Make sure we can still use the connection...					this.rs = cancelStmt.executeQuery("SELECT 1");					assertTrue(this.rs.next());				assertEquals(1, this.rs.getInt(1));			} finally {				if (this.rs != null) {					ResultSet toClose = this.rs;					this.rs = null;					toClose.close();				}					if (cancelConn != null) {					cancelConn.close();				}			}		}	}	/**	 * DOCUMENT ME!	 * 	 * @throws SQLException	 *             DOCUMENT ME!	 */	public void testClose() throws SQLException {		Statement closeStmt = null;		boolean exceptionAfterClosed = false;		try {			closeStmt = this.conn.createStatement();			closeStmt.close();			try {				closeStmt.executeQuery("SELECT 1");			} catch (SQLException sqlEx) {				exceptionAfterClosed = true;			}		} finally {			if (closeStmt != null) {				try {					closeStmt.close();				} catch (SQLException sqlEx) {					/* ignore */				}			}			closeStmt = null;		}		assertTrue(				"Operations not allowed on Statement after .close() is called!",				exceptionAfterClosed);	}	public void testEnableStreamingResults() throws Exception {		Statement streamStmt = this.conn.createStatement();		((com.mysql.jdbc.Statement) streamStmt).enableStreamingResults();		assertEquals(streamStmt.getFetchSize(), Integer.MIN_VALUE);		assertEquals(streamStmt.getResultSetType(), ResultSet.TYPE_FORWARD_ONLY);	}	public void testHoldingResultSetsOverClose() throws Exception {		Properties props = new Properties();		props.setProperty("holdResultsOpenOverStatementClose", "true");		Connection conn2 = getConnectionWithProps(props);		Statement stmt2 = null;		PreparedStatement pstmt2 = null;		try {			stmt2 = conn2.createStatement();			this.rs = stmt2.executeQuery("SELECT 1");			this.rs.next();			this.rs.getInt(1);			stmt2.close();			this.rs.getInt(1);			stmt2 = conn2.createStatement();			stmt2.execute("SELECT 1");			this.rs = stmt2.getResultSet();			this.rs.next();			this.rs.getInt(1);			stmt2.execute("SELECT 2");			this.rs.getInt(1);			pstmt2 = conn2.prepareStatement("SELECT 1");			this.rs = pstmt2.executeQuery();			this.rs.next();			this.rs.getInt(1);			pstmt2.close();			this.rs.getInt(1);			pstmt2 = conn2.prepareStatement("SELECT 1");			this.rs = pstmt2.executeQuery();			this.rs.next();			this.rs.getInt(1);			pstmt2.executeQuery();			this.rs.getInt(1);			pstmt2.execute();			this.rs.getInt(1);			pstmt2 = ((com.mysql.jdbc.Connection) conn2)					.clientPrepareStatement("SELECT 1");			this.rs = pstmt2.executeQuery();			this.rs.next();			this.rs.getInt(1);			pstmt2.close();			this.rs.getInt(1);			pstmt2 = ((com.mysql.jdbc.Connection) conn2)					.clientPrepareStatement("SELECT 1");

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品丝袜黑色高跟| 亚洲一区二区三区中文字幕在线| 日韩女优av电影| 日韩精品中文字幕一区二区三区| 欧美日本视频在线| 国产91精品在线观看| 国产成人三级在线观看| 成人福利视频网站| 91久久精品国产91性色tv| 欧洲视频一区二区| 91精品国产综合久久久久久久久久| 欧美高清你懂得| 精品国产91久久久久久久妲己| 国产性做久久久久久| 国产精品麻豆欧美日韩ww| 亚洲视频一二区| 日韩电影免费在线看| 久久99精品久久久久久动态图 | 亚洲国产婷婷综合在线精品| 亚洲色图.com| 日韩精品91亚洲二区在线观看| 蜜臀av一区二区在线观看 | 精品999在线播放| 久久亚洲精品小早川怜子| 亚洲欧美偷拍另类a∨色屁股| 五月天中文字幕一区二区| 成人国产精品免费观看| 成人福利视频网站| 3d动漫精品啪啪一区二区竹菊 | 色综合天天综合色综合av| 这里只有精品视频在线观看| 国产精品午夜春色av| 午夜精品视频一区| 欧洲生活片亚洲生活在线观看| 久久亚洲一区二区三区明星换脸 | 国产欧美精品区一区二区三区 | 中文字幕在线观看一区二区| 亚洲高清视频中文字幕| 国产在线一区二区综合免费视频| 成人黄色电影在线| 久久精品夜色噜噜亚洲aⅴ| 亚洲gay无套男同| 欧美少妇bbb| 依依成人综合视频| 色婷婷久久99综合精品jk白丝| 久久久国产午夜精品| 成人精品亚洲人成在线| 日韩欧美中文字幕精品| 玖玖九九国产精品| 久久亚洲精精品中文字幕早川悠里| 久久超碰97中文字幕| 精品国产三级电影在线观看| 视频一区在线视频| 精品国产一区二区精华| 国产乱色国产精品免费视频| 26uuu亚洲综合色欧美| 国产成人一级电影| 国产精品人人做人人爽人人添| 国产精品亚洲成人| 精品日韩在线观看| 久久99久久精品欧美| 欧美大度的电影原声| 亚洲午夜精品一区二区三区他趣| 91首页免费视频| 午夜精品福利视频网站| 亚洲精品一区二区三区影院| 国产成人免费在线| 最新不卡av在线| 91激情在线视频| 久久精品国产亚洲高清剧情介绍| 久久久久久免费网| 在线观看中文字幕不卡| 亚洲国产你懂的| 欧美成人精精品一区二区频| 毛片不卡一区二区| 国产亚洲一二三区| 欧美高清一级片在线| 国产91富婆露脸刺激对白| 夜夜嗨av一区二区三区中文字幕 | 91麻豆免费看| 亚洲一区二区在线观看视频| 在线播放国产精品二区一二区四区| 极品瑜伽女神91| 日韩vs国产vs欧美| 亚洲欧美一区二区三区孕妇| 日韩国产欧美在线视频| 亚洲一区自拍偷拍| 精品粉嫩超白一线天av| 欧美精品日韩综合在线| 99国产欧美另类久久久精品| 国产精品资源网| 麻豆精品一区二区| 亚洲私人黄色宅男| 国产精品系列在线| 欧美一卡2卡3卡4卡| 欧美日韩精品电影| 欧美日韩精品专区| 欧美专区在线观看一区| 色偷偷一区二区三区| 日本免费在线视频不卡一不卡二| 亚洲高清免费在线| 婷婷开心久久网| 亚洲精品亚洲人成人网| 国产精品少妇自拍| 中文字幕一区二区三区不卡| 久久久五月婷婷| 久久综合成人精品亚洲另类欧美 | 色哦色哦哦色天天综合| 成人avav影音| 成人一级黄色片| 99久久99久久综合| 99视频有精品| 高清久久久久久| 国产福利视频一区二区三区| 精品影视av免费| 免费一级欧美片在线观看| 天堂久久久久va久久久久| 久久99精品久久久久久| 99麻豆久久久国产精品免费| 国产偷v国产偷v亚洲高清| 亚洲欧美在线高清| 亚洲成人免费影院| 极品销魂美女一区二区三区| 国产91综合网| 色av一区二区| 日韩欧美中文字幕制服| 欧美国产一区二区在线观看| 亚洲第一激情av| av毛片久久久久**hd| 欧美一区二区三区精品| 亚洲女人****多毛耸耸8| 国产一区二区不卡老阿姨| 色婷婷亚洲精品| 欧美精品国产精品| 中文字幕第一区第二区| 亚洲第一福利视频在线| 成人美女视频在线观看18| 欧美一级二级三级蜜桃| 亚洲不卡在线观看| 色av一区二区| 2024国产精品| 午夜视频在线观看一区| 在线观看91精品国产入口| 日韩美女精品在线| 国产福利精品一区二区| 精品免费99久久| 欧美xxxxx牲另类人与| 日韩精品一区二区三区视频播放| 一区二区三区不卡视频在线观看| 国内成人精品2018免费看| 久久蜜桃av一区精品变态类天堂| 亚洲成人精品在线观看| 99久久伊人精品| 国产视频一区二区在线观看| 激情久久五月天| 久久综合色综合88| 国产一区二区三区免费看| 欧美美女bb生活片| 久久精品国产一区二区三| 日韩午夜在线观看| 国产精品一区二区无线| 中文字幕欧美国产| 色综合久久88色综合天天免费| 亚洲国产精品久久久男人的天堂| 欧美性生交片4| 日韩在线a电影| 欧美肥胖老妇做爰| 国产一区在线精品| 日本一区二区三区四区在线视频| 国产老妇另类xxxxx| 中文字幕欧美一| 成人aa视频在线观看| 亚洲综合久久久| 欧美一区二区三区在线视频| 成人开心网精品视频| 石原莉奈一区二区三区在线观看| 欧美成人在线直播| 91在线观看成人| 精品综合免费视频观看| 日韩美女精品在线| 精品久久人人做人人爰| 91国偷自产一区二区三区成为亚洲经典| 首页欧美精品中文字幕| 国产欧美一区二区精品性色| 欧美性感一类影片在线播放| 国产综合色在线| 日本系列欧美系列| 亚洲激情校园春色| 中文字幕免费不卡| 欧美成人一区二区三区在线观看| 99精品国产视频| 国产成人精品影视| 日韩成人精品视频| 婷婷六月综合网| 亚洲视频免费看| 久久亚洲一级片| 欧美一区二区三区免费在线看| 国产成a人亚洲| 久久电影网站中文字幕| 五月婷婷综合在线|