The call to merge() returns a managed copy of the entity. You should pass this 
reference to makeTransient().


  | ...
  | selectedSpielplatz = dao.findById(Long.valueOf(id), false);
  | Spielplatz mergedObject = dao.merge(selectedSpielplatz);
  | dao.makeTransient(mergedObject);
  | ...

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

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

Reply via email to