首页 > 代码库 > spring事务配置代码

spring事务配置代码

1.隔离级别:

2.传播属性:

==================

<tx:method name="query*" propagation="NOT_SUPPORTED" read-only="true"/>
<tx:method name="find*" propagation="NOT_SUPPORTED" read-only="true"/>
<tx:method name="get*" propagation="NOT_SUPPORTED" read-only="true"/>
<tx:method name="calculate*" propagation="NOT_SUPPORTED" read-only="true"/>
<tx:method name="*NoTrans" propagation="NOT_SUPPORTED" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/>

===================

<tx:method name="query*" propagation="NOT_SUPPORTED" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/>

spring事务配置代码