[jboss-user] [JBoss Seam] - Re: failed to lazily initialize a collection

petemuir do-not-reply at jboss.com
Wed Apr 25 12:23:17 EDT 2007


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



More information about the jboss-user mailing list