nerdexam
Oracle

1Z0-860 · Question #205

Which two options can be used to predefine Java Persistence queries for easy use? (Choose two.)

The correct answer is A. @Named Query annotation C. using the named-query element in the XML descriptor. See the full explanation below for the reasoning.

Question

Which two options can be used to predefine Java Persistence queries for easy use? (Choose two.)

Options

  • A@Named Query annotation
  • B@Named Native Query annotation
  • Cusing the named-query element in the XML descriptor
  • DUsing the named-native-query element in the XML descriptor

How the community answered

(39 responses)
  • A
    79% (31)
  • B
    13% (5)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice