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
When you see aop, look for interceptor
Look at the two Beans at the back
It seems quite convenient.
http://blog.didispace.com/spr...