}
else {
sql = _SQL_SELECT_MEETUPSREGISTRATION.concat(MeetupsRegistrationModelImpl.ORDER_BY_JPQL);
}
Query q = session.createQuery(sql);
if (orderByComparator == null) {
list = (List<MeetupsRegistration>)QueryUtil.list(q,
getDialect(), start, end, false);