This content has been marked as final.
Show 2 replies
-
1. Re: Self-destroying a stateful session bean
weston.price Mar 4, 2007 10:45 AM (in response to jlessner)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.
-
2. Re: Self-destroying a stateful session bean
jlessner Mar 4, 2007 4:19 PM (in response to jlessner)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@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.