mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user