摘要:
//查询用户留言@OverridepublicListgetLeaveWords(StringuserName){Sessionsession=null;ListleaveWordsArray=newArrayList();try{session=super.getHibernateSessionFactory().getSession();Stringhql="fromUserInfowhereuserName=:userName";Queryquery=session.createQuery(hql);query.setString("userName&quo 阅读全文