How to configure declarative transactions in Spring Boot?
Previous Spring knew how to configure it, as shown below.
Fortunately, I know how to configure Spring Boot’s annotation style, but I haven’t succeeded in declarative style for a long time.
This is the configuration, I have been fiddling with it for a long time
The purpose is for the project to use both annotation and declarative transaction management
高洛峰2017-05-27 17:43:17
When you see aop, look for interceptor
Look at the two Beans at the back