[jboss-user] [JBoss Seam] - Re: SFSB vs. JavaBean
vladimir.kovalyuk
do-not-reply at jboss.com
Tue Jan 29 02:58:32 EST 2008
"vladimir.kovalyuk" wrote : 1. Does JPA persistence context propagation rules work for Seam-managed conversation-scoped Beans?
"pete.muir at jboss.org" wrote :
| No, they are different. JPA persistence context propagation rules are complex. SMPC propgation is simple. You will get the same PC for the length of that conversation injected into the bean. So if you aren't in a long running conversation, it will be the same PC for the whole of the request.
|
Thank you Pete! I missed that SMPC is employed using @In, not @PersistenceContext. I get used to think that Seam components is empoyed by interception. I should revise SMPC.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124280#4124280
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124280
More information about the jboss-user
mailing list