java.sql.SQLException: JZ006: Caught IO Exception: java.net.SocketTimeoutException: Read timed out

java.sql.SQLException: JZ006: Caught IO

Exception: java.net.SocketTimeoutException: Read timed out

				ResultSet rs = pst.executeQuery(); 
//				pst.setQueryTimeout(5000);
				System.out.println(pst.getQueryTimeout());
				StringBuffer buff = new StringBuffer(); 
				Thread.sleep(1000);
				while(rs.next()){ 
					buff.append(rs.getInt(1)+" "); 
				} 


你可能感兴趣的:(java)