Got rid of parent member of AVMNodes. Duplicated data unnecessarily.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-06-18 17:03:49 +00:00
parent c892c5a4b5
commit 606096011c
6 changed files with 1 additions and 60 deletions

View File

@@ -32,10 +32,6 @@
complete versioning semantics. -->
<many-to-one name="mergedFrom" column="merged_from"
class="AVMNodeImpl"/>
<!-- Parent is a very specific notion of containment. The parent
of an AVMNode is the parent in which that node was created. -->
<many-to-one name="parent" column="parent_id"
class="DirectoryNodeImpl"/>
<!-- This should really be not null, but I haven't figured out
the right way to build the relation so that nullability constraints
won't cause violations in the db during saves. -->
@@ -224,12 +220,6 @@
where an.mergedFrom = :merged
]]>
</query>
<query name="AVMNode.GetByParent">
<![CDATA[
from AVMNodeImpl an
where an.parent = :parent
]]>
</query>
<query name="VersionRoot.GetVersionRoot">
<![CDATA[
select v.root