int offset = toInt(parameters, compiler.getOffsetParam(), compiler.getOffsetValue());
int limit = toInt(parameters, compiler.getLimitParam(), compiler.getLimitValue());
JDBCEntityBridge selectEntity = null;
JDBCCMPFieldBridge selectField = null;
SelectFunction selectFunction = null;
if (compiler.isSelectEntity()) {
selectEntity = (JDBCEntityBridge) compiler.getSelectEntity();
} else if (compiler.isSelectField()) {
selectField = (JDBCCMPFieldBridge) compiler.getSelectField();
} else {