Related questions
Question 8 - 2V0-72.22 discussion
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.
Your answer:
0 comments
Sorted by
Leave a comment first