You should checkout the FAQs on the hibernate website for this topic.

Generally you should explicitly transfer the data you need to your client in 
one call via data transfer objects. You may use your EntityBean classes for 
this. Just make sure all your dependent objects are initialized (walk the tree 
if in doubt).

Reattaching is a bad idea because you have won't have acid semantics for your 
objects any more and you do want them (?).

Regards,

-Gunnar


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

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

Reply via email to