[jboss-user] [EJB 3.0] - Re: Self-destroying a stateful session bean
jlessner
do-not-reply at jboss.com
Sun Mar 4 16:19:50 EST 2007
I'm not sure if this is generally true. If an SFSB's remove-method is called, the instance is destroyed but the transaction which the remove-method runs in, is *not* rolled back. So in general there is a way.
"weston.price at jboss.com" wrote : No, as the transaction is tied to the SFSB instance. Any work registered and done by that instance has to be rolled back for integrity; the only way to do this and maintain integrity is to roll back the entire transaction.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024938#4024938
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024938
More information about the jboss-user
mailing list