class="org.springframework.orm.hibernate4.HibernateTransactionManager">
<aop:config>
<aop:pointcut expression="execution(* com.wuye.service.*Impl.*(..))" id="exec"/>
<aop:advisor advice-ref="trans" pointcut-ref="exec"/>
</aop:config>
我的xml里面已经配置好了 为什么的删除 和更新没有用到事物 还的需要自己重写在删除和更新方法里面 重新写 commit
谢谢大家