Fixed test to flush session, avoiding unique constraint violation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-05-11 19:13:02 +00:00
parent d61df5f408
commit cda459a84f
4 changed files with 61 additions and 2 deletions

View File

@@ -523,6 +523,11 @@ public abstract class AlfrescoTransactionSupport
{
listener.flush();
}
// flush changes
for (NodeDaoService nodeDaoServices : getNodeDaoServices())
{
nodeDaoServices.flush();
}
}
/**