Hi,

the second statement is correct. To make a detached entity managed, you have to 
use "find" or "getReference".

See 
https://www.hibernate.org/hib_docs/ejb3-api/javax/persistence/EntityManager.html#refresh%28java.lang.Object%29

Best regards

Wolfgang

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

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

Reply via email to