diff --git a/config/alfresco/application-context.xml b/config/alfresco/application-context.xml index 196cd78a64..dcb36d7bed 100644 --- a/config/alfresco/application-context.xml +++ b/config/alfresco/application-context.xml @@ -17,6 +17,7 @@ + alfresco/model/datalistModel.xml - @@ -1192,6 +1191,7 @@ + @@ -1287,6 +1287,7 @@ + @@ -1298,6 +1299,14 @@ + + + + + + + + diff --git a/config/alfresco/ibatis/alfresco-SqlMapConfig.xml b/config/alfresco/ibatis/alfresco-SqlMapConfig.xml index 296cb15a07..9904122675 100644 --- a/config/alfresco/ibatis/alfresco-SqlMapConfig.xml +++ b/config/alfresco/ibatis/alfresco-SqlMapConfig.xml @@ -65,6 +65,7 @@ Inbound settings from iBatis + @@ -108,7 +109,6 @@ Inbound settings from iBatis - diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml index d6fcaaa258..e36c46f0a8 100644 --- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml +++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml @@ -57,7 +57,7 @@ - + @@ -80,7 +80,7 @@ - + @@ -361,6 +393,13 @@ id = #{id} + + update alf_node_assoc set + assoc_index = #{assocIndex} + where + id = #{id} + + update alf_child_assoc set child_node_name_crc = #{childNodeNameCrc}, @@ -475,6 +514,15 @@ + + delete from alf_node_assoc + where + id in + + #{item} + + + delete from alf_child_assoc where @@ -713,7 +761,8 @@ targetStore.protocol as targetNodeProtocol, targetStore.identifier as targetNodeIdentifier, targetNode.uuid as targetNodeUuid, - assoc.type_qname_id as type_qname_id + assoc.type_qname_id as type_qname_id, + assoc.assoc_index as assoc_index from alf_node_assoc assoc join alf_node sourceNode on (sourceNode.id = assoc.source_node_id) @@ -721,14 +770,19 @@ join alf_node targetNode on (targetNode.id = assoc.target_node_id) join alf_store targetStore on (targetStore.id = targetNode.store_id) + + order by + assoc.assoc_index ASC + - + + + + + + + + + \ No newline at end of file diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/solr-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/solr-common-SqlMap.xml index 16204afdd4..fd25d128ed 100644 --- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/solr-common-SqlMap.xml +++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/solr-common-SqlMap.xml @@ -11,19 +11,10 @@ - + - - - - - - - - - @@ -65,49 +56,27 @@ order by acs.commit_time_ms ASC, acs.id ASC - select - acs.id as acl_changeset_id, + acl.acl_change_set as acl_changeset_id, acl.id as acl_id from - alf_acl_change_set acs - join alf_access_control_list acl on (acl.acl_change_set = acs.id) + alf_access_control_list acl - - acs.id in + + = #{fromIdInclusive}]]> + + + and acl.acl_change_set in #{item} - + order by - acs.id ASC, acl.id ASC - -