READ Free Dumps For Oracle- 1z0-898
Question ID 4582 | A stateless session bean's business method invokes EJBContext.setRollBackOnly and receives an IllegalStateException. |
Option A | A. The business method is marked with the MANDATORY transaction attribute. |
Option B | B. The business method is marked with the NONSUPPORTED transaction attribute. |
Option C | C. This Is NOT possible; a stateless session bean cannot invoke EJBContext.SetRollBackOnly. |
Option D | D. The bean has no metadata (in annotations 01 deployment descriptor) which specifies the transaction attribute for the method. |
Correct Answer | B |
Question ID 4583 | Given the following stateless session bean implementation classes: |
Option A | A. MANDATORY, MANDATORY, and MANDATORY |
Option B | B. REQUIRED, MANDATORY, and REQUIRES_NEW |
Option C | C. MANDATORY, MANDATORY,and REQUIRES__NEW |
Option D | D. REQUIRED, REQUIRES_NEW, and REQUIRES_NEW |
Correct Answer | B |