CodePudding user response:
Configuration transaction manager have five methods, the first is the sort of common configuration, you said the second is the present you this configuration file, which specifies the expression, meet this expression will add transaction management, using annotations can be thought of as a bit more constraints, because the method of transaction prior to the class of transaction, and the third is to use an interceptor, four or five are using a proxy, now you should belong to the second, you see if there are any similar configuration expression="execution (* com. Demo. Spring. Dao. *. * (.. ))"