Fix for yet another wrong-order-save-for-hibernate bug. I believe.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3744 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-09 21:21:30 +00:00
parent fd978d9116
commit 11772e5796
2 changed files with 2 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ class PlainDirectoryNodeImpl extends DirectoryNodeImpl implements PlainDirectory
else
{
ChildEntry entry = new ChildEntryImpl(name, this, node);
AVMContext.fgInstance.fAVMNodeDAO.flush();
AVMContext.fgInstance.fChildEntryDAO.save(entry);
}
}