1. Informix database implementation scheme The
informix database provides very convenient and efficient sql, select skip M first N from table name where 1=1 order by col;
Description: M is (the number of pages - 1) * the number of records per page
N is each The number of page records
2.hiberate implementation scheme
By setting the firstResult and maxResults properties of the Criteria object, each query (firstResult+maxResults) records, and then skip the firstResult records for the query result set resultSet, and finally return the query result set.
Source code analysis in the future. . . . .
informix paging query implementation
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326752056&siteId=291194637
Recommended
Ranking