[jboss-user] [JBoss Seam] - Re: Seam @In EntityManager vs. Extended Persistence context.
thejavafreak
do-not-reply at jboss.com
Sun Oct 7 21:46:08 EDT 2007
"marius.oancea" wrote : 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?
|
I made the SMPC into a conversation scoped and it works. But I don't know in your case.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092376#4092376
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092376
More information about the jboss-user
mailing list