Hi everybody,
may be simple question, but anyway:
I have "1 to n" relationship between A and B objects.
I get ma A from EntityManager, I call getBs() which
give me a Collection of Bs. Now I remove one B from
Collection (iterator.remove()) and call merge on A.
I would like to see that B I have removed in code will be
deleted from DB. Is this right or completely wrong?
Thanks a lot
Dalibor
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029308#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...