陈建华的博客
专注web开发
发布时间 : 2014-06-30 10:46:19     Tags : java

public List<User> getPageIndex(int pageIndex,int topNum){ String hql = "select top("+topNum+""+")* from " + "(select * from LMY_MYDJM316 a where a.id not in " + "(select b.id from " + "(select top("+ (pageIndex-1)*topNum+""+")* from LMY_MYDJM316)b))c"; SQLQuery query = sessionFactory.g

微网聚博客乐园 ©2014 blog.mn886.net 鲁ICP备14012923号   网站导航