Cascade op leerniveau instellen:
@ORM\ManyToMany(targetEntity="Target", inversedBy="inverse", cascade={"remove", "persist"})
Meer info:Doctrine2 Annotation Reference .
Cascade op mysql-niveau instellen:
@ORM\JoinColumn(onDelete="CASCADE", onUpdate="CASCADE")