[jboss-user] [EJB 3.0] - Re: Detached Entity passed to persist
jaikiran
do-not-reply at jboss.com
Wed Jan 14 07:49:15 EST 2009
When you return the entity back to the client from the bean, it becomes detached from the entitymanager. When you are passing the entity back to the bean, the second time, you have the option to call the
mergedEntity = entityManager.merge(entity);
to re-attach the detached entity.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201757#4201757
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201757
More information about the jboss-user
mailing list