Is there a better way than

  | Set<Bar> bars = new HashSet<Label>(foo.getBars());
  | foo.getBars().clear();
  | entityManager.merge(foo);
  | foo.setBars(bars);
  | entityManager.merge(foo);
  | 

?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079999#4079999

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079999
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to