得到部分属性:
List list = this.getHibernateTemplate().find("select userName,count(userName) from UserLoginStatistics group by userName ");
List list = this.getHibernateTemplate().find("select new diy_bean(userName,count(userName)) from UserLoginStatistics group by userName ");