Hi
I am following the guide
"http://docs.wso2.org/display/DSS310/Distributed+Transactions+Sample" to test
distributed transactions of DSS.
It is OK. The addAccountToBank1 service call rolled back because of the
error in addAccountToBank2 operation. In this test, the two operations are both
involve H2 DB.
Then I do another test.
In this test, I replace one of the H2 DB to MySQL DB. following is my steps:
Run the begin_boxcar operation.
Insert some data to MySQL DB.
Run the addToAccountBalanceInBank2 operation and give the values "1" for
"accountId" field and "h200" for the "value" field.
Run the end_boxcar operation.
Run the getAccountBalanceFromBank2 operation.(The Balance does not change)
query the data in MySQL DB.(It has been changed by insert operation)
I do not know why roll back do not happen for MySQL DB? And what conditions
are needed for the roll back of distributed transactions of DSS?
stevegyc_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev