🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Relationships and Transactions: all 10 questions

Quiz: Relationships and Transactions · Question 3 of 10

A @Transactional method is called from another method in the same class. What happens?

A @Transactional method is called from another method in the same class. What happens?

  1. A.A new transaction always starts
  2. B.The call bypasses Spring's proxy, so the annotation has no effect
  3. C.The app fails to start
  4. D.Both methods share a nested transaction
Answer & explanation

Correct answer: The call bypasses Spring's proxy, so the annotation has no effect

Self-invocation skips the proxy.

Can you get the rest right without peeking?

Take the timed Quiz: Relationships and Transactions quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →