This content has been marked as final.
Show 1 reply
-
1. Re: Flushing changes to objects quickly
pmuir Dec 7, 2006 4:46 AM (in response to smokingapipe)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.