Oracle
1Z0-898 · Question #5
1Z0-898 Question #5: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-898 to reveal the answer and full explanation for question #5. The question stem and answer options stay visible for context.
Question
A stateless session bean's business method invokes EJBContext.setRollBackOnly and receives an IllegalStateException. 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 01 deployment descriptor) which specifies the
Unlock 1Z0-898 to see the answer
You've previewed enough free 1Z0-898 questions. Unlock 1Z0-898 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.