Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toquery/example-spring-boot-mult-svc-impl-transaction
多个SVC实现时,数据库事务回滚问题,也就是@Bean 和 @Service 注册的bean对事物的影响
https://github.com/toquery/example-spring-boot-mult-svc-impl-transaction
Last synced: 8 days ago
JSON representation
多个SVC实现时,数据库事务回滚问题,也就是@Bean 和 @Service 注册的bean对事物的影响
- Host: GitHub
- URL: https://github.com/toquery/example-spring-boot-mult-svc-impl-transaction
- Owner: ToQuery
- Created: 2022-08-05T06:53:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-22T12:23:36.000Z (7 months ago)
- Last Synced: 2024-04-23T13:21:57.479Z (7 months ago)
- Language: Java
- Size: 96.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
多个SVC实现时,数据库事务回滚问题,也就是@Bean 和 @Service 注册的bean对事物的影响
验证地址:
- http://localhost:8080/user/list
- http://localhost:8080/user/save
- http://localhost:8080/user/save-error1. 情况一:使用@Service对事物无影响
2. 情况二:使用@Bean对事物无影响