How does orphanRemoval work?
Why when I put it in a list does not work ex:
@OneToMany(mappedBy = "simulationMedia", cascade = CascadeType.ALL, orphanRemoval = true)
@JsonIgnore
private List<SimulationChemicalMedia> simulationChemicalMedias = new ArrayList<SimulationChemicalMedia>();