RT,类似于spring的
<bean id="transactionInterceptor"
class="org.springframework.transaction.interceptor.TransactionInterceptor">
<property name="transactionManager" ref="transactionManager"></property>
<property name="transactionAttributes">
<props>
<prop key="get*">PROPAGATION_REQUIRED, readOnly</prop>
<prop key="query*">PROPAGATION_REQUIRED, readOnly</prop>
<prop key="find*">PROPAGATION_REQUIRED, readOnly</prop>
<prop key="search*">PROPAGATION_REQUIRED, readOnly</prop>
<prop key="list*">PROPAGATION_REQUIRED, readOnly</prop>
<prop key="delOne*">PROPAGATION_REQUIRED, readOnly</prop>
<prop key="*">PROPAGATION_REQUIRED , -Exception</prop>
</props>
</property>
</bean>