[jboss-user] [JBoss Seam] - changes on @In injected properties with BUSINESS_PROCESS sco
koenhandekyn
do-not-reply at jboss.com
Thu Jun 7 09:44:27 EDT 2007
i have just spend a long time debuging an issue with respect to updates on an object with business process scope that is injected with @In.
the behaviour was that the updates where first made, but soon after "dissapeared".
i discovered that adding an explicit @Out(scope = ScopeType.BUSINESS_PROCESS, required = false) sovles my issue.
i do not fully understand what's happening but it probably relates to the proxies that get inserted and the @Out triggering a commit somewhere. (allthough i added the @Intercept(InterceptionType.NEVER) as mentioned in the reference manual)
@In
@Out(scope = ScopeType.BUSINESS_PROCESS, required = false)
private Invoice invoice;
hope this helps someone.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052142#4052142
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052142
More information about the jboss-user
mailing list