nerdexam
Oracle

1Z0-860 · Question #253

1Z0-860 Question #253: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #253. The question stem and answer options stay visible for context.

Question

A developer wants to create a portable EJB 3.0 application that includes the following class definition for the Entity Account: 11.〦ntity 12. @Entityl_isteners(com. acme.AlertMonitor. class) 13. public class Account { 14. // more code here 15. @PrePersist 16. protected void validateCreate0 {/* more code here */} 17.} Which statement is correct?

Exhibit

1Z0-860 question #253 exhibit

Options

  • AThe validateCreate method may NOT throw runtime exceptions.
  • BThe validateCreate method can invoke the EntityManager.flush operation.
  • CMethods of the class com.acme.AlertMonitor annotated with callback annotations must take an Object
  • DThe above class definition is NOT correct. An entity cannot define a callback method like PrePersist and

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.

Full 1Z0-860 Practice