Hi

    I had posted this question to StackOverflow on Nov 11.
    Following is the link.
    
http://stackoverflow.com/questions/19902801/wso2-data-services-server-distributed-transactions-can-not-roll-back-for-differe.

    Thank you for your answer.




stevegyc

From: Chanika Geeganage
Date: 2013-11-19 16:27
To: stevegyc
CC: dev
Subject: Re: [Dev] Distributed Transactions of DSS can not roll back for 
different types of database
Hi,


Can you please raise this question on StackOverflow, as we are providing 
developer support through that. 


Thanks



On Tue, Nov 19, 2013 at 12:16 PM, stevegyc <[email protected]> wrote:

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







-- 

Best Regards..


Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to