[jboss-user] [EJB 3.0] - setRollbackOnly set by remote EJB with @TransactionAttribute

mohitanchlia do-not-reply at jboss.com
Fri Feb 27 14:47:39 EST 2009

What happens when 

1. "A" Bean calls "B" Bean and in a transaction context
2. B's business methos has @TransactionAttribute(REQUIRED)
3. B marks setRollbackOnly

Does container first rollback B's transaction before returning and then A rollsback it's transaction or does container rollsback A both A's changes and B's changes as well while trying to commit or rollback in A bean. I looked in EJB specs but found it confusing. 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213850#4213850

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213850

More information about the jboss-user mailing list