事务控制
来源:互联网 发布:淘宝卖家刷单流程 编辑:程序博客网 时间:2024/06/04 19:04
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
">
<!-- 事务处理 -->
<tx:advice id="dicpteAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="get*" propagation="REQUIRED" read-only="true"/>
<tx:method name="find*" propagation="REQUIRED" read-only="true"/>
<tx:method name="load*" propagation="REQUIRED" read-only="true"/>
<tx:method name="read*" propagation="REQUIRED" read-only="true"/>
<tx:method name="save*" propagation="REQUIRED" />
<tx:method name="update*" propagation="REQUIRED" />
<tx:method name="delete*" propagation="REQUIRED" />
<tx:method name="*" propagation="REQUIRED" read-only="true"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="dicpteDaoOperation" expression="execution(* com.revenue.dic.pte.service.*.*(..))"/>
<aop:advisor advice-ref="dicpteAdvice" pointcut-ref="dicpteDaoOperation" order="0"/>
</aop:config>
</beans>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
">
<!-- 事务处理 -->
<tx:advice id="dicpteAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="get*" propagation="REQUIRED" read-only="true"/>
<tx:method name="find*" propagation="REQUIRED" read-only="true"/>
<tx:method name="load*" propagation="REQUIRED" read-only="true"/>
<tx:method name="read*" propagation="REQUIRED" read-only="true"/>
<tx:method name="save*" propagation="REQUIRED" />
<tx:method name="update*" propagation="REQUIRED" />
<tx:method name="delete*" propagation="REQUIRED" />
<tx:method name="*" propagation="REQUIRED" read-only="true"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="dicpteDaoOperation" expression="execution(* com.revenue.dic.pte.service.*.*(..))"/>
<aop:advisor advice-ref="dicpteAdvice" pointcut-ref="dicpteDaoOperation" order="0"/>
</aop:config>
</beans>
0 0
- 事务控制
- 事务控制
- 事务控制
- 事务控制
- 事务控制
- 事务控制
- 事务控制
- orcl 事务与事务控制
- spring控制事务的控制
- .NET的事务控制
- .NET的事务控制.
- 事务控制语句
- C#数据库事务控制
- CSLA的事务控制
- 事务与并发控制
- Access事务控制
- 编程控制Oralce事务
- Spring_事务控制
- Ext中 store.getModifiedRecords().length 问题
- HDU5373(2015多校第7场1005)
- Ext中 store.getModifiedRecords().length 问题
- 积累的oracle操作
- 积累的oracle操作
- 事务控制
- QBC查询
- Oracle 数据列值拆分
- js中两日期比较大小
- myEclipse8.5 startup and shutdown项具体含义
- 将博客搬至CSDN
- 深入理解Git (四) -微命令下篇
- Android SetTextColor的问题
- Java BigDecimal的基本使用方法