April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Transações com Spring
nExemplo
n...
n<beans>
n<bean id=“customerService” class=“org.springframework.transaction.
n interceptor.TransactionProxyFactoryBean”>
n  <property name=“transactionManager”>
n    <ref bean=“transactionManager”/>
n  </property>
n  <property name=“target”>
n    <ref bean=“customerServiceTarget”/>
n  </property>
n  <property name=“transactionAttributes”>
n    <props>
n      <prop key=“get*”>PROPAGATION_REQUIRED, readOnly</prop>
n      <prop key=“store*”>PROPAGATION_REQUIRED</prop>
n    </props>
n  </property>
n<bean>
n...
Continua...