Hi all, i have an entity with a @OneToMany relationship:
@OneToMany(mappedBy="a", fetch=FetchType.EAGER)
@Cascade(CascadeType.SAVE_UPDATE)
private List<B> bList;
Im writing a server/multiclient app: a client send A to server and server resend A to other clients. So, client1 send A with bList that has size 3. Server receive A entity, but this has bList size=1, always. I have debugged and so im sure of this.
Where is my mistake?
Thanks