`
djun100
  • 浏览: 167687 次
  • 性别: Icon_minigender_1
  • 来自: 大连
文章分类
社区版块
存档分类
最新评论

java操作数据库相关

 
阅读更多
ResultSet相关:
/*				A ResultSet cursor is initially positioned before the first row; 
				the first call to the method next makes the first row the current row; 
				the second call makes the second row the current row, and so on. */

				if (resultSet.next()) {
//					resultSet.previous();
					responseResult.append(resultSet.getString("max"));
				}

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics