DavidWei

Results 1 issues of DavidWei

框架: 微服务:spring cloud(version: Greenwich.SR2) + spring boot(version: 2.1.6.RELEASE) + euraka + mybatis(mybatis-spring-boot-starter version: 2.0.0) seata: euraka + db,版本:com.alibaba.cloud:spring-cloud-alibaba-seata:2.1.0.RELEASE + io.seata:seata-all:1.3.0 问题: 在非启动moudle中使用@GlobalTransactional是没有作用的,seata server的console或global_table都没有相应的记录。例如启动module是host module,其依赖了另外一个module,如biz module,那么在biz module中使用@GlobalTransactional是不起作用的。 但是在host module中使用@GlobalTransactional是有没有问题的,通过seata server的console或global_table表都能看到相应的记录。如某个controller的method中使用@GlobalTransactional是可以正常工作的。 是需要类似于像查找项目中所有component那样,在ComponentScan中指定所需要查找的component...