标签:返回 unique userinfo on() turn int info pre return
1 public int getCountUser() throws ParseException { 2 Session hSession = sessionFactory.getCurrentSession(); 3 Query query = hSession.createQuery("select count(*) from WgUserinfoEntity"); 4 return ((Number)query.uniqueResult()).intValue(); 5 }
标签:返回 unique userinfo on() turn int info pre return
原文地址:http://www.cnblogs.com/sunnyny/p/6429907.html