Will CascadeType.REMOVE on a ManyToMany mapping remove the join table row? Even if the Collections has not been loaded lazily? Or do I have to iterate over the Collection and remove each element before removing the enity? I do NOT want to remove the referenced Entity on the other side of the ManyToMany association, just the row in the join table.

@ManyToMany (fetch=FetchType.LAZY, cascade={CascadeType.PERSIST,CascadeType.REMOVE})

- Paul


Reply via email to