-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Issue #24291 - Merge transactional attributes #24571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@odrotbohm Since transaction attributes are merged in this new implementation, it could be used in spring-data as is (i.e. without reverting the order of lookups), what do you think? |
Looking though Reference Documentation (Data Access part) 5.2.3 I couldn't find anything that had to be changed. |
68dc863
to
b06a5a9
Compare
(as described in comment and class javadoc) See spring-projectsgh-24291
Merge transactional attributes from all relevant definition places, according to their priority (instead of returning the first found one). See spring-projectsgh-24291
AbstractMergeTransactionAttributeSource
in the original implementation), while also keeping the previously added "target class"; improve JavaDoc. The new priorities are: 1. specific method; (this is just the proper name of the former "method in the target class") 2. declaring class of the specific method; (added) 3. target class; 4. method in the declaring class/interface; 5. declaring class/interface. instead of: 1. method in the target class; 2. target class; 3. method in the declaring class/interface; 4. declaring class/interface.
spring-projects#24291 : - base DAO class - concrete DAO classes, which declare different transaction managers and inherit transactional methods from the base DAO class
It looks like we'll address both #24291 and #23473 through a new Thanks for the PR, in any case! |
Changes to spring-tx as discribed in #24291