I have a OneToMany
relation from A to B (A references a list Bs).
When I delete a B using either entityManager.remove(b)
or a.getBs().remove(b)
or both, and load A again : the deleted B will still appear in the list THOUGH it has been effectively removed from the database! I tried with and without Cascade.ALL
on the relation with no success..
Thanks for your help.