Skip to content
Ravnary
A Knowledge Platform
Categories
Learn
Cheatsheets
Paths
Favourites
Review
Community
Colour theme
Light
Dark
System
Learn
Spring Boot
Data Access
Transactions
Quiz
Q 01
/ 04
Advanced
Question 1 of 4. 0 correct, 0 incorrect.
serviceA.publicMethod()
calls
this.transactionalMethod()
internally, and
transactionalMethod
is
@Transactional
. What happens when
transactionalMethod
runs?
It runs with no transaction active, because the call never reaches the proxy
It throws an exception, because Spring detects the self-invocation and refuses it
It still goes through the proxy, because Spring intercepts every call to a
@Transactional
method
Check answer
Home
Learn
Paths
Saved
Community