Different transaction name when using TransactionAspectSupport.currentTransactionStatus().transactionName
#32310
Labels
Milestone
StackOverflow question
Spring Boot version: 3.2.1
If I use the following two services:
the following is printed:
That is
TransactionAspectSupport
andTransactionSynchronizationManager
behavior differs formethod2
. AndTransactionAspectSupport
mistakenly prints wrong transaction name.If I remove
@Transactional
frommethod2
, all is correct.To reproduce, you can use: https://github.com/rkudryashov/sb-repro and call
http://localhost:8080/test
The text was updated successfully, but these errors were encountered: