摘要:
/** * 分页查询 */ int currentPage=3;//当前页码 int pageSize=5;//每页的记录条数 String sql=" select * from " + "(select mid,name,age,birthday,note,rownum rn f... 阅读全文
posted @ 2017-09-07 14:35
scwyfy
阅读(443)
评论(0)
推荐(0)
摘要:
/** * PreparedStatement: * 更新操作:public int executeUpdate() * 查询操作:public Result executeQuery() * 填充数据:public void setXxx(int index,值)//注意index是从1开始 * * 注意:在使用PreparedStatement操作Date数据时,使用... 阅读全文
posted @ 2017-09-07 10:54
scwyfy
阅读(178)
评论(0)
推荐(0)

浙公网安备 33010602011771号