Hibernate: No Session found for current thread

时间:2014-04-05 01:11:49   收藏:0   阅读:550

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

我知道的一种情况是:

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

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

 

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

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!