<bean id="txProxyTemplate_blog" abstract="true"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager" ref ="transactionManager_blog" />
<property name="transactionAttributes">
<props>
<prop key="get*">REQUIRED</prop>
<prop key="find*" >PROPAGATION_REQUIRED,</prop>
<prop key="load*">PROPAGATION_REQUIRED</prop>
<prop key="save*">PROPAGATION_REQUIRED,AUTO</prop>
<prop key="add*">PROPAGATION_REQUIRED</prop>
<prop key="update*">PROPAGATION_REQUIRED</prop>
<prop key="delete*">PROPAGATION_REQUIRED</prop>
<prop key="*">PROPAGATION_REQUIRED,readOnly</prop>
</props>
</property>
</bean>
原文:http://www.cnblogs.com/bishion/p/4925843.html