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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to