Oracle
1Z0-860 · Question #49
1Z0-860 Question #49: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #49. The question stem and answer options stay visible for context.
Question
A session bean's business method invokes User Transaction.set Rollback Only and receives an HlegalStateException. Under which circumstance canthis happen?
Options
- AThe bean is using bean-managed transactions regardless of whether there is an active transaction.
- BThere is no circumstance that would cause setRollbackOnly to throw an HlegalStateException.
- CThe bean is using bean-managed transaction demarcation, and UserTransaction.begin has NOT been
- DThe set Rollback Only method is invoked within a bean-managed transaction, and
Unlock 1Z0-860 to see the answer
You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.