forked from spring-projects/spring-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression in determineTransactionManager
The fix in cec26e9 for SPR-12541 actually introduced a regression when the interceptor is enabled on a method that does not require any transaction. In such a case we try to locate the default PlatformTransactionManager instead of just returning what we have (that is null). This commit updates the determineTransactionManager condition again to take that use case into account again. Issue: SPR-12541
- Loading branch information
Showing
2 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters