[jboss-user] [JBoss Seam] - Seam @In EntityManager vs. Extended Persistence context.
marius.oancea
do-not-reply at jboss.com
Sat Oct 6 14:43:39 EDT 2007
I;ve build a tree using richfaces and seam. The tree model is saved into a session stateful component.
@Stateful
@Scope(SESSION)
@Name("leftTreeBean")
I used Extended Persisence Context and all works but it seems that that exteded persistence context does not propagate into DAO objects (Stateless session beans).
If I switch to seam managed persistence tree does not work (i supose because seam managed persistend only work inside conversation - and this cannot be the case because the tree is displayed all the time).
How can I make the dao called from "leftTreeBean" use the same EntityManager?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092279#4092279
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092279
More information about the jboss-user
mailing list