struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navjot Singh" <navjo...@net4india.net>
Subject [OT] Transaction Safe Java Code
Date Thu, 12 Jun 2003 15:14:17 GMT
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?

---------------
regards
Navjot Singh
Net4India Ltd.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message