[jboss-user] [JBoss Seam] - Re: ManagedPersistenceContext in Manning JPA book
segev
do-not-reply at jboss.com
Mon Dec 3 17:53:13 EST 2007
We decided to use SMPC for all the reasons highlighted in the previous post but there is a catch if you use it in a Session scoped stateful session bean. the injected entity manager will have a scope of Conversation (by default) and transactions will not be committed properly. This can be demonstrated by changing the Seam supplied messages example to use SMCP instead of the original EJB extended PC.
Is it OK to change the default scope of the SMPC component to session scope?
Can the above SMPC be used for conversations?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110036#4110036
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110036
More information about the jboss-user
mailing list