在springboot中查看事务管理器

@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)

猜你喜欢

转载自blog.csdn.net/qq_45106437/article/details/112602132