Skip to content
Sharp

Spring Core · interview question

Why does a transaction-managed method invokes another method in the same class directly cause a problem in practice?

Multiple choiceMediumchapter-9-curatedpremiumspring-corebean-scope
Choose one answer
Answer and explanation

Correct answer

C. Transaction management is bypassed

Why

When a transaction-managed method invokes another method in the same class directly, the transaction management is bypassed because Spring AOP proxies are not applied, potentially leading to inconsistent data states.

Test yourself on Spring Core

A free test with instant, explained results. No account needed.

Start free test
All Spring Core questions →