A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
ramdas pradeep kumar
Joined: Aug 27, 2003
Sep 10, 2003 04:53:00
How paging can be implemented in a resultset. I want to list the records by a page size of 10. Is it possible with Java.
Joined: Aug 01, 2002
Sep 10, 2003 10:37:00
You can try ScrollableResultset
Here are few links which can help you
Another way could be using Statement objects setMaxRows(no. of records you need)
You can use the boundary conditions in the sql query as per your DB and you will that many no of records only.
Hope it can guide you!
It is sorta covered in the
JavaRanch Style Guide
subject: Resultset Paging
How to do Paging in struts
How does servlet know which url to open?
How paging by JDBC ?
How to retrieve 1 million records in DB2 and write to a file?
ResultSet Paging --- I am STUCK!!!!!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014