mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Renamed RetryingTransaction to RetryingTransactionHelper, HibernateRetryingTransaction
to HibernateRetryingTransactionHelper. Changed propagation mode of AVM transactions to PROPAGATION_REQUIRED and tweaked to not retry in a transaction that wasn't started locally. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
<bean id="readTransactionDefinition"
|
||||
class="org.springframework.transaction.support.DefaultTransactionDefinition">
|
||||
<property name="propagationBehaviorName">
|
||||
<value>PROPAGATION_REQUIRES_NEW</value>
|
||||
<value>PROPAGATION_REQUIRED</value>
|
||||
</property>
|
||||
<property name="isolationLevelName">
|
||||
<value>ISOLATION_READ_COMMITTED</value>
|
||||
@@ -225,7 +225,7 @@
|
||||
<bean id="writeTransactionDefinition"
|
||||
class="org.springframework.transaction.support.DefaultTransactionDefinition">
|
||||
<property name="propagationBehaviorName">
|
||||
<value>PROPAGATION_REQUIRES_NEW</value>
|
||||
<value>PROPAGATION_REQUIRED</value>
|
||||
</property>
|
||||
<property name="isolationLevelName">
|
||||
<value>ISOLATION_READ_COMMITTED</value>
|
||||
@@ -237,7 +237,7 @@
|
||||
|
||||
<!-- The Hibernate Transaction wrapper. -->
|
||||
<bean id="retryingTransaction"
|
||||
class="org.alfresco.repo.avm.HibernateRetryingTransaction">
|
||||
class="org.alfresco.repo.avm.HibernateRetryingTransactionHelper">
|
||||
<property name="sessionFactory">
|
||||
<ref bean="sessionFactory"/>
|
||||
</property>
|
||||
|
Reference in New Issue
Block a user