medoer edited a comment on issue #9841:
URL: https://github.com/apache/shardingsphere/issues/9841#issuecomment-808675296
```java
Service A
@Transactional
@ShardingTransactionType(TransactionType.BASE)
public void test() {
// invoke Service B method
bFeginClient.test();
a.insert();
throw a exception();
}
Service B
// @Transactional // producer service no @Transactional annotation
@ShardingTransactionType(TransactionType.BASE)
public void test() {
b.insert();
}
```
code like this the transactional is working, both service transaction is
rollback.
but service b get transaction type is 'LOCAL'
Not working for TransactionType.XA with Transaction Type
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]