here is my following dao implementaion
@Override
public List getAddresses(int pageid,int total) {
String sql = \"select * FRO
I came across this while I was searching for something else, and noticed this has not been answered, so thought to post my 2cents. You can create a wrapper (Request) object containing Pagination object and pageId.
Request
Pagination