But I stay with a doubt:
I have this situation:
public class Package(){ @OneToOne(cas
See the hibernate documentation which is very clear on this issue. For instance you could use e.g.,
@Cascade(CascadeType.PERSIST) private List obj;
or
@OneToMany(cascade = CascadeType.PERSIST) private List obj;