jodd-joy/src/main/java/jodd/joy/page/db/HsqlDbPager.java
@Override
	protected String buildPageSql(String sql, final int from, final int pageSize) {
		sql = removeSelect(sql);
		return "select LIMIT " + from + ' ' + pageSize + sql;
	}
@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.