@ Override protected String buildPageSql ( String sql , final int from , final int pageSize ) { sql = removeSelect ( sql ) ; return "select LIMIT " + from + ' ' + pageSize + sql ; }
Builds page sql using LIMIT keyword after the SELECT .