Navjot Singh wrote:
Hi List,
I have 2 methods that i am calling in same sequence.
+ txnMethod1() + txnMethod2()
I wish either both of them get _executed_ or none of them.
Can i rollback the state to what was before method1's _execution_ if method2 fails?
Is it possible or i should start thinking simple?
Think simple: throw an exception.
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

