Oracle
1Z0-860 · Question #288
Bean A is using bean-managed transaction demarcation and has invoked the foo method of bean
The correct answer is B. Bean A must invoke the getStatus method on the UserTransaclion that it began. See the full explanation below for the reasoning.
Question
Bean A is using bean-managed transaction demarcation and has invoked the foo method of bean
Options
- AIt is NOT possible for bean A to determine if the transaction has been set to rollback.
- BBean A must invoke the getStatus method on the UserTransaclion that it began.
- CFor this to be possible, bean B must also use bean-managed transaction demarcation.
- DBean A must invoke the set RollbackOnly method on the UserTransaction that it began.
- EBean A must invoke the get RollbackOnly method on the UserTransaction that it began.
How the community answered
(37 responses)- A3% (1)
- B73% (27)
- C3% (1)
- D8% (3)
- E14% (5)
Community Discussion
No community discussion yet for this question.