能否在方法中提供类似@Compensable的注解,以便在开发设计中只对某些特定的API提供TCC支持
liuguoguo opened this issue · comments
现在只有@Compensable对类进行注解,导致该类中所有的方法都需加Transaction注解且还得定义一个interface来让Controller类来实现,不是很方便。
ByteTCC is a distributed transaction manager based on the TCC(Try/Confirm/Cancel) mechanism. It’s compatible with the JTA specification. User guide: https://github.com/liuyangming/ByteTCC/wiki
liuguoguo opened this issue · comments
现在只有@Compensable对类进行注解,导致该类中所有的方法都需加Transaction注解且还得定义一个interface来让Controller类来实现,不是很方便。