首页 > 系统服务 > 详细

Hibernate: No Session found for current thread

时间:2014-04-05 01:11:49      阅读:543      评论:0      收藏:0      [点我收藏+]

在Struts2+Hibernate+Srping项目中经常会遇到这种问题

我知道的一种情况是:

Spring的事务配置中没有配置好异常出现处的路径

 <aop:advisor pointcut="execution(* com.bjsxt.env.*.*(..))"
                     advice-ref="txAdvice"/>

 

Hibernate: No Session found for current thread,布布扣,bubuko.com

Hibernate: No Session found for current thread

原文:http://www.cnblogs.com/haitao-fan/p/3645290.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!