Oracle
1Z0-860 · Question #225
1Z0-860 Question #225: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #225. The question stem and answer options stay visible for context.
Question
Given the following stateful session bean: 10. @Stateful 11. @TransactionAttributefJransactionAttributeType. SUPPORTS) 12. public class VideoBean implements Video { 13. // insert code here 14. public void methodAO {} 15.} Assuming no other transaction-related metadata, which code can be added at Line 13 to guarantee that business method methodA will execute only if invoked with an active transaction?
Options
- A@TransactionAttributefJ
- B@TransactionManagement(TransactionAttributeType. CONTAINER)
- C@TransactionAttribute(TransactionAttributeType.MANDATORY)
- D@TransactionAttributeO"ransactionAttributeType.REQUIRES_NEW)
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.