spring需要<tx:annotation-driven transaction-manager="txManager" />開啟事務(wù)并且配置一個事務(wù)管理器,怎么spingboot啥都不用配置就可以用注解了。。。 查看完整描述