yu199195 edited a comment on issue #9447: URL: https://github.com/apache/shardingsphere/issues/9447#issuecomment-785538218
@jmbkeyes hi, 1. you must add this dependency in you pom.xml ```xml <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>shardingsphere-transaction-base-seata-at</artifactId> <version>${shardingsphere.version}</version> </dependency> <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId> <version>${shardingsphere.version}</version> </dependency> <dependency> <groupId>io.seata</groupId> <artifactId>seata-rm-datasource</artifactId> <version>${seata.version}</version> </dependency> <dependency> <groupId>io.seata</groupId> <artifactId>seata-tm</artifactId> <version>${seata.version}</version> </dependency> <dependency> <groupId>io.seata</groupId> <artifactId>seata-codec-all</artifactId> <version>${seata.version}</version> </dependency> ``` 2. you must add this annotaion on the method, like this : ```java @ShardingTransactionType(TransactionType.BASE) public void you_method() { } ``` 3. if you have dead lock, may be the seata buildBeforImage UndoLog bug, you can provider issue to seata . ---------------------------------------------------------------- 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: us...@infra.apache.org