I have got bi-directional association defined in LCDS and Hibernate - 
one Parent has ArrayCollection of many Child objects, in Child I have 
the pointer to its Parent. All works correctly, but when I try to delete 
one of the child objects (either by parent.childs.removeItemAt() or 
directly through dsChild.deleteItem()), my parent object just disappears 
- it is deleted as well. I can fix this by making the relationship 
one-directional (then it works), but I think there has to be some 
setting either in LCDS or in Hibernate to prevent this.

Thanks in advance for some advice

Zdenek M

Reply via email to