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:
parent
ee136fb6a6
commit
35adebb0fa
|
@ -1374,6 +1374,12 @@ public class EntityManagementImpl implements EntityManagement {
|
||||||
|
|
||||||
// TODO remove attached facets if not managed from hooks
|
// 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();
|
resource.remove();
|
||||||
|
|
||||||
orientGraph.commit();
|
orientGraph.commit();
|
||||||
|
|
Loading…
Reference in New Issue