摘要: 在使用ssh中将事务委托给spring时老是出现事务不可用 经过检查,原因如下: 是因为在hibernate.cfg.xml文件中忘记进行了如下设置: hibernate.current_session_context_class如果是在web容器中运行hibernate,则在hibernate.c 阅读全文
posted @ 2016-12-20 15:53 玉曲风 阅读(540) 评论(0) 推荐(0) 编辑