通过session工厂关闭session对象。
将session.close()修改为:HibernateSessionFactory.closeSession()
hibernate关闭连接
猜你喜欢
转载自chensl.iteye.com/blog/1990950
今日推荐
周排行