You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/03/26 12:50:56 UTC

[GitHub] [shardingsphere] medoer edited a comment on issue #9841: Distributed transaction with seata AT throw a NullPoint Exceptoin

medoer edited a comment on issue #9841:
URL: https://github.com/apache/shardingsphere/issues/9841#issuecomment-808179967


   And use seata @GlobalTransactional can rollback success, but must add 
   
   `TransactionTypeHolder.set(TransactionType.BASE)` before every persistent SQL. AND `TransactionTypeHolder.get()` return 'LOCAL'
   
   AND this way didn't use SeataATShardingTransactionManager#commit


-- 
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:
users@infra.apache.org