Skip to content
Snippets Groups Projects
Commit f8666500 authored by Arnaud Jelmoni's avatar Arnaud Jelmoni
Browse files

ajout annotation driven

parent 72a02bc1
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,8 @@ ...@@ -56,6 +56,8 @@
<property name="sessionFactory" ref="sessionFactory"/> <property name="sessionFactory" ref="sessionFactory"/>
</bean> </bean>
<tx:annotation-driven transaction-manager="transactionManager"/>
<!-- DEFINES AN "ADVICE" IE. A WAY TO USE THE TRANSACTION MANAGER AROUND METHODS --> <!-- DEFINES AN "ADVICE" IE. A WAY TO USE THE TRANSACTION MANAGER AROUND METHODS -->
<tx:advice id="txAdvice" transaction-manager="transactionManager"><!-- the transactional advice (i.e. what 'happens'; see the <aop:advisor/> bean below) --> <tx:advice id="txAdvice" transaction-manager="transactionManager"><!-- the transactional advice (i.e. what 'happens'; see the <aop:advisor/> bean below) -->
<tx:attributes><!-- the transactional semantics... --> <tx:attributes><!-- the transactional semantics... -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment