Refer to the exhibit.

Refer to the exhibit.

Assume that the application is using Spring transaction management which uses Spring AOP internally.
Choose the statement that describes what is happening when the update1 method is called?
(Choose the best answer.)
A. There are 2 transactions because REQUIRES_NEW always runs in a new transaction.
B. An exception is thrown as another transaction cannot be started within an existing transaction.
C. There is only one transaction because REQUIRES_NEW will use an active transaction if one already exists.
D. There is only one transaction initiated by update1() because the call to update2() does not go through the proxy.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.