springboot注解异常处理事务回滚

一、开始事务支持app @EnableTransactionManagement // 开启注解事务管理,等同于xml配置文件中的 <tx:annotation-driven /> @SpringBootApplication(scanBasePackages = {"com.xxx.xxx.xxx", "com.xxx.xxx.xxx"}) @MapperScan("com.xxx.xxx.xx
相关文章
相关标签/搜索