wuguanyu commented on issue #17029: URL: https://github.com/apache/shardingsphere/issues/17029#issuecomment-1107825143
> > > @wuguanyu Can you provider your demo project? > > > > > > https://github.com/wuguanyu/shardingsphere/commits/2022-04-24-fix-bug I try to fix by myself, It resolve my issue, but I can't confirm my code is correct or not > > Maybe it's better to change check isInTransaction from `ConnectionManager` to `ShardingSphereConnection` use `isHoldTransaction` . it seem like my code is not good way to fix. I only wanted fixed new SQLException("Savepoint can only be used in transaction blocks.") to make our company program to run on line -- 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. To unsubscribe, e-mail: notifications-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org