标签:
Query query = session.createQuery(hql);
num = (new Integer(query.uniqueResult().toString())) .intValue();
hql如何查询总数
原文地址:http://www.cnblogs.com/lemniscate317/p/5136417.html