@Bean
public Object testBean(PlatformTransactionManager platformTransactionManager){
System.out.println(">>>>>>>>>>>"+platformTransactionManager.getClass().getName());
return new Object();
}```
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210114105112821.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1MTA2NDM3,size_16,color_FFFFFF,t_70)
Afficher le gestionnaire de transactions dans springboot
Je suppose que tu aimes
Origine blog.csdn.net/qq_45106437/article/details/112602132
conseillé
Classement