Preparing query

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135025 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-11-29 10:13:00 +00:00
parent ee136fb6a6
commit 35adebb0fa
1 changed files with 6 additions and 0 deletions

View File

@ -1374,6 +1374,12 @@ public class EntityManagementImpl implements EntityManagement {
// TODO remove attached facets if not managed from hooks
// SELECT FROM (TRAVERSE outE("ConsistsOf") FROM #145:27) WHERE
// relationProperty IS null OR relationProperty.referentialIntegrity
// IS null OR relationProperty.referentialIntegrity =
// 'onDeleteCascade' OR (relationProperty.referentialIntegrity =
// 'onDeleteCascadeWhenOrphan' AND inV().inE().size()=1)
resource.remove();
orientGraph.commit();