Oracle
1Z0-898 · Question #9
Given a set of CMT bean methods with the following transaction attributes: Method M1 = SUPPORTS Method M2 = REQUIRED Method M3 = NOT_SUPPORTED Method M4 = REQUIRES_NEW And the following method…
The correct answer is A. Method M1 : no transaction. See the full explanation below for the reasoning.
Question
Given a set of CMT bean methods with the following transaction attributes:
Method M1 = SUPPORTS Method M2 = REQUIRED Method M3 = NOT_SUPPORTED Method M4 = REQUIRES_NEW And the following method invocation sequence:
Method M1 invokes Method M2 Method M2 invokes Method M3 Method M1 invokes Method M4 If Method M1 is invoked by a method that does NOT have a transaction context, which describes a possible scenario?
Options
- AMethod M1 : no transaction
- BMethod M1 : no transaction
- CMethod M1 : no transaction
- DMethod M1 : no transaction
How the community answered
(57 responses)- A81% (46)
- B5% (3)
- C12% (7)
- D2% (1)
Community Discussion
No community discussion yet for this question.