Oracle
1Z0-860 · Question #116
Given : public class MyException extends Exception {} The business interface Foo declares a method work0:
The correct answer is A. The container does notroll back the transaction. See the full explanation below for the reasoning.
Question
Given : public class MyException extends Exception {} The business interface Foo declares a method work0:
Options
- AThe container does notroll back the transaction.
- BThe client receives javax.ejb.EJBTransactionRequiredException.
- CThe client receives javax.ejb.EJBTransactionRolledbackException.
- DThe container marks the transaction for rollback by calling the EJBContext.setRollbackOnly method.
- Ipublic void work0 throws MyException;
How the community answered
(54 responses)- A80% (43)
- B2% (1)
- C6% (3)
- D11% (6)
- I2% (1)
Community Discussion
No community discussion yet for this question.