Solved

Public Class ClientServiceImpl Implements ClientService { @Transactional(propagation=Propagation

Question 53

Multiple Choice

public class ClientServiceImpl implements ClientService { @Transactional(propagation=Propagation.REQUIRED) public void update1() { update2() ; } @Transactional(propagation=Propagation.REQUIRES_NEW) public void update2() { // ... } You are using transactions with Spring AOP. What is happening when the update1 method is called? (Select one)


A) There is only one transaction because the call to update2() is internal (it does not go through the proxy)
B) There is only one transaction because REQUIRES_NEW runs into the active transaction if one already exists
C) There are 2 transactions because REQUIRES_NEW always runs in a new transaction

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents