[jboss-user] [EJB 3.0] - Re: Entity bean state not rolled back on TX rollback:

jnorris10 do-not-reply at jboss.com
Fri Jul 14 10:41:17 EDT 2006


"bill.burke at jboss.com" wrote : we could possible put this in, but it would not be portable behavior.  The spec doesn't require rollback of entity state.

OK, thanks for the response.  I was mistaken and thought this was required by the spec.  In your book, EJB 3.0 5th edition (which is awesome btw!), on the last paragraph page 370, it says this:

"As a transaction monitor, an EJB3 server watches each method call in the transaction.  If any of the updates fail, all the updates to the EJBs and entities will be reversed or rolled back." ... 

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

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



More information about the jboss-user mailing list