Yes, use a SMPC, not an extended PC.  You don't want the @Transactional on 
those methods (it's an entity bean), and you probably want to let hibernate 
take care up updating the relationship for you - call 
entityManager.refresh(foo) to get hibernate to do this.

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

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

Reply via email to