日期:2014-05-20 浏览次数:20783 次
from Table t order by t.time desc limit 100 ------解决方案--------------------跟分页一样的道理:Query q=session.createQuery("");; q.setFirstResult(0); q.setMaxResult(100);List results = q.list();