Oracle
1Z0-860 · Question #235
1Z0-860 Question #235: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #235. The question stem and answer options stay visible for context.
Question
Given: A stateless session bean's business method invokes EJBContext.setRollbackOnly and receives an Illegal StateExe option. Under which of these conditions could this be possible?
Options
- AThe business method is marked with the MANDATORY transaction attribute.
- BThe business method is marked with the NONSUPPORTED transaction attribute.
- CThis is NOT possible; a stateless session bean cannot invoke EJBContext.setRollbackOnly.
- DThe bean has no metadata (in annotations or deployment descriptor) which specifies the transaction
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.