在hibernate中查询记录数量的方法count
((Integer)s.createFilter(Cls.class, "select count(*)").list().get(0)).intValue();
发布时间: 2012-10-18 13:46:55 作者: rapoo
在hibernate中查询记录数量的方法count
((Integer)s.createFilter(Cls.class, "select count(*)").list().get(0)).intValue();