I came across a spring-aop-transaction.xml file in my project. There are two sections.
<aop:config>
<aop:advisor
pointcut="execution
Here all the interfaces are declared. And
<tx:advice id="TxAdvice" transaction-manager="transactionManager">
<tx:attributes>
Here all the method names are specified. I was wondering if the sequence in which the method names are mentioned make a difference or they have to be in exact same sequence as the declaration of the interfaces.
Thanks for the answers.
EDIT: How do I force close an open transaction.
EX:
<tx:method name="updateData" propagation="REQUIRES_NEW"
rollback-for="Exception"/>
This transaction is continued to be used by another method creating problems. Thanks in advance.