Re: [Saga Discussion] Support for db's update operation of complicate types

2018-02-07 Thread Zheng Feng
Well it could be very hard to write the compensate method sometimes. I don't think it would be an easy way to rollback or undo the UPDATE statement. 2018-02-07 21:11 GMT+08:00 Willem Jiang : > It's good way to provide the custom extension of the compensating message. > But it's a challenge for t

Re: [Saga Discussion] Support for db's update operation of complicate types

2018-02-07 Thread Willem Jiang
It's good way to provide the custom extension of the compensating message. But it's a challenge for the user to know about the whole compensation message. It's could more easier for the user to write the code by using forward recovery which means we just let the omega retry the transaction method.

[Saga Discussion] Support for db's update operation of complicate types

2018-02-06 Thread Eric Lee
Hi all, Currently, saga pack intercept all arguments to be processed by spring aop. However, when developers execute the SQL's update operations with complicate types like update the status, it will be really hard to compensate because neither alpha and omega knows what's the previous status befor