There. I'm using sdn4 with java 8.
I make this relation
Owner -Has- truck.
and delete truck using truckReposity(extends GraphRepository).
If checking truck is deleted in Neo4j broswer, It is deleted.
but Running web application has still have truck.
owner.removeTruck(truck);
ownerRepository.save(owner);
truckRepositry.delete(truck);
I'm using these codes. Can I delete truck with relation other way?