Broadcom-VMware
2V0-72.22 · Question #29
Which statement describes the propagation behavior of Propagation.REQUIRES_NEW annotation? (Choose the best answer.)
The correct answer is C. Starts a new transaction; if an active transaction already exists, it is suspended. See the full explanation below for the reasoning.
Question
Which statement describes the propagation behavior of Propagation.REQUIRES_NEW annotation? (Choose the best answer.)
Options
- AStarts a new transaction but throws an exception if an active transaction already exists.
- BJoins a transaction if one already exists; throws an exception if an active transaction does not
- CStarts a new transaction; if an active transaction already exists, it is suspended.
- DRuns in a nested transaction if an active transaction exists; throws an exception if an active
How the community answered
(45 responses)- A16% (7)
- B7% (3)
- C76% (34)
- D2% (1)
Community Discussion
No community discussion yet for this question.