[jboss-user] [EJB 3.0] - Re: Inner transection in EJB3 using annotation (in stateless
wolfc
do-not-reply at jboss.com
Tue May 8 18:29:56 EDT 2007
Create a new method processOrder and annotate it with transaction type REQUIRES_NEW.
@TransactionAttribute(REQUIRES_NEW)
| void processOrder(RequestOMValue value)
| {
| value.processOrder(this.em);
| }
Then call it via getBusinessObject.
ctx.getBusinessObject(JVTOSSOMSessionLocal.class).processOrder(requestOMValue);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044112#4044112
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044112
More information about the jboss-user
mailing list