Which two options can be used to predefine Java Persistence queries for easy use? (Choose
two.)
A.
@NamedQuery annotation
B.
@NamedNativeQuery annotation
C.
using the named-query element in the XML descriptor
D.
usingthenamed-native-queryelementintheXML descriptor