AdminConfigHBM adminConfigHBM = (AdminConfigHBM)itr.next();
list.add(AdminConfigHBMUtil.model(adminConfigHBM));
}
}
else {
ScrollableResults sr = q.scroll();
if (sr.first() && sr.scroll(begin)) {
for (int i = begin; i < end; i++) {
AdminConfigHBM adminConfigHBM = (AdminConfigHBM)sr.get(0);
list.add(AdminConfigHBMUtil.model(adminConfigHBM));