-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Paging logic
PostPosted: Mon Jun 07, 2004 8:15 pm 
Newbie

Joined: Fri Jun 04, 2004 7:22 pm
Posts: 8
Location: Phoenix, Arizona
How can i implement tha paging logic using hybernet.

Suppose i have an UI with 3 pages and each page i want to show only 10 rows. So how will i implement that on clicking of page 1 hiernate will return first 10 rows, on click of 2nd page it will return next 10 rows and so on......


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 07, 2004 8:49 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
setMaxResults()/setFirstResult()

Please use the documentation in future.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.