Sunday, January 20, 2002 11:21 PM
I use DB2 Database, I don't know how to select certain rows from the DB, so I have used the Java vector to work as the pagination alogorithm. But my method is kinda stupid, so I would like to know if there are any other suggestion from you guys. What I am doing is:
RETRIEVE all the data from my Query, and then store in a Vector, then get the data from element 0 to 100 for the first page, 101 to 200 for the second page, etc....So my loading time is kinda slow. Is there any other suggestions??