[jboss-user] [JBoss Seam] - Re: Flushing changes to objects quickly

petemuir do-not-reply at jboss.com
Thu Dec 7 04:46:06 EST 2006


I think if you are using @PersistenceContext(type=EXTENDED) then the EntityManager is scoped to that SFSB.  Therefore, if you load an Entity in SFSB_A (EntityManager_A) then if you call flush in SFSB_B then the entity won't be flushed as it isn't managed by EntityManager_B.

The solution is to use Seam Managed Persistence Context.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991903



More information about the jboss-user mailing list