Home  >  Forum  >  Spring
Post New Query

how to develop pagination using spring and hibernate


joined on
June 18,2014
Asked on June 18,2014
pagination using spring and hibernate source code
joined on
October 10,2013
Replied on June 18,2014

You can use Criteria for pagination

Criteria criteria = hibernateTemplate.session.createCriteria(Record.class);
criteria.setFirstResult(0);
criteria.setMaxResults(10);

List<Record> records = criteria.list();

Write Answer








Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us