采用基于XML方式配置事务
2014-05-05 23:43
375 查看
32 <!-- 使用xml配置事务 --> 33 <aop:config> 34 <aop:pointcut id="transactionPointcut" expression="execution(* cn.itcast.service..*.*(..))" /> 35 <aop:advisor advice-ref="txAdvice" pointcut-ref="transactionPointcut" /> 36 </aop:config> 37 <tx:advice id="txAdvice" transaction-manager="txManager"> 38 <tx:attributes> 39 <tx:method name="get*" read-only="true" propagation="NOT_SUPPORTED" /> 40 <tx:method name="*" /> 41 </tx:attributes> 42 </tx:advice>
相关文章推荐
- Spring 采用基于XML方式配置事务
- spring采用基于xml配置方式进行事务的处理
- spring采用基于xml配置方式进行事务的处理
- spring学习笔记12----Spring+jdbc组合开发( 采用基于xml方式配置事务)
- Spring之AOP声明式事务管理(采用xml的配置方式更好)
- SpringMVC经典系列-03基于Spring2.5采用XMl配置的方式进行项目开发---【LinusZhu】
- spring事务配置 :基于AspectJ的XML方式
- spring事务配置 :基于AspectJ的XML方式
- spring 基于XML和注解的两种事务配置方式
- Spring 基于xml配置方式的事务
- Spring 基于xml配置方式的事务
- Struts2基于XML配置方式实现对Action方法进行校验
- Spring4深入理解IOC&DI04----Bean配置方式(全类名,工厂方法,FactoryBean),配置形式(基于XML和注解),泛型依赖注入
- 基于XML配置方式实现输入校验
- Spring框架总结——第二部分(基于xml配置+注解的方式配置IOC)
- Spring中的AOP(六)——基于XML配置文件方式的AOP
- struts2基于xml配置方式对Action方法进行校验
- (11) 基于XML配置方式声明切面
- Spring AOP基于XML配置的管理方式
- spring框架 事务 xml配置方式