Fix ALF-2591: FixNameCrcValuesPatch needs to use Savepoint (PostgreSQL)

- PostgreSQL doesn't have automatic recovery after constraint violations
 - Added in calls to new ControlDAO's createSavepoint


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2010-04-27 09:58:28 +00:00
parent 6e0abbb516
commit c46bc9dd26
2 changed files with 19 additions and 2 deletions

View File

@@ -1978,7 +1978,6 @@
<ref bean="patch.InvalidNameEnding" />
</list>
</property>
<!-- helper beans -->
<property name="sessionFactory">
<ref bean="sessionFactory" />
</property>
@@ -1988,6 +1987,9 @@
<property name="qnameDAO">
<ref bean="qnameDAO" />
</property>
<property name="controlDAO">
<ref bean="controlDAO" />
</property>
<property name="ruleService">
<ref bean="ruleService" />
</property>