谢谢,一语惊醒梦中人啊!!!已解决
在Application加入切面声明,将事务控制带入业务层。 <aop:config>
<aop:pointcut id="pointcutManage" expression="execution(* com.test.struts.service.*.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="pointcutManage"/>
</aop:config>
在Application加入切面声明,将事务控制带入业务层。 <aop:config>
<aop:pointcut id="pointcutManage" expression="execution(* com.test.struts.service.*.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="pointcutManage"/>
</aop:config>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货