[jboss-user] [EJB 3.0] - Re: what can be done for not real remove
Wolfgang Knauf
do-not-reply at jboss.com
Tue Jul 10 14:22:52 EDT 2007
You remove the phone from the person's phone list, then save the person:
person.getPhones().remove(phone);
| entityManager.merge (person);
Hope this helps
Wolfgang
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062628#4062628
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062628
More information about the jboss-user
mailing list