Springboot service层事务管理、若catch异常并抛出非运行时异常,手动回滚事务案例

- 首先添加依赖web <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> 添加依赖后,不须要在springboot启动类上添加 @EnableT
相关文章
相关标签/搜索