http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
<!-- Transaction -->
- <bean id="transactionManager"
+ <bean id="hibernateTransactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager"
lazy-init="false">
<property name="sessionFactory" ref="sessionFactory" />
<aop:advisor advice-ref="daoAdvice" pointcut-ref="daoTestTreeMethods" />
</aop:config>
- <tx:advice id="daoAdvice" transaction-manager="transactionManager">
+ <tx:advice id="daoAdvice" transaction-manager="hibernateTransactionManager">
<tx:attributes>
<tx:method name="get*" propagation="REQUIRED" read-only="true" />
<tx:method name="list*" propagation="REQUIRED" read-only="true" />
<tx:method name="*" propagation="REQUIRED" />
</tx:attributes>
</tx:advice>
-<!--
+
<aop:config>
<aop:pointcut id="pointcut.services.allMethods"
expression="execution(* org.argeo.slc.services.*.*.*(..))" />
</aop:config>
<tx:advice id="advice.allMethodsRequired"
- transaction-manager="transactionManager">
+ transaction-manager="hibernateTransactionManager">
<tx:attributes>
<tx:method name="*" propagation="REQUIRED" />
</tx:attributes>
</tx:advice>
- -->
+
</beans>
\ No newline at end of file