query.addScalar("countRow", Hibernate.INTEGER);
List topList = query.list();
if (topList.get(0) != null)
count = (Integer) topList.get(0);
return count;
}
query.addScalar("countRow", Hibernate.INTEGER);
List topList = query.list();
if (topList.get(0) != null)
count = (Integer) topList.get(0);
return count;
}