Skip to content
Sharp

Spring Core · interview question

In a Spring Boot application, why might self-invocation of a method annotated with @Transactional fail to apply the transaction?

Multiple choiceHardchapter-9-curatedpremiumspring-coredtos-and-entities
Choose one answer
Answer and explanation

Correct answer

D. Spring proxies do not intercept calls within the same instance.

Why

Spring uses proxies to manage transactions. Self-invocation does not pass through these proxies, so transactional behavior is not applied.

Test yourself on Spring Core

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

Start free test
All Spring Core questions →