摘要: //查询用户留言@OverridepublicListgetLeaveWords(StringuserName){Sessionsession=null;ListleaveWordsArray=newArrayList();try{session=super.getHibernateSessionFactory().getSession();Stringhql="fromUserInfowhereuserName=:userName";Queryquery=session.createQuery(hql);query.setString("userName&quo 阅读全文
posted @ 2014-01-12 21:11 wangle100 阅读(376) 评论(0) 推荐(0) 编辑