464465466467468469470471472473474
public void detach(Object entity) { Node node = getPersistenceCache().getMainCache().getNodeFromCache(entity, getMetadata(entity.getClass()), this); if (node != null) { node.detach(); } } /** * Gets the client.
132133134135136137138139140141142
break; case DETACH: if (cascadeTypes.contains(CascadeType.DETACH) || cascadeTypes.contains(CascadeType.ALL)) { Node childNode = children.get(nodeLink); childNode.detach(); } break; } }