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.
using the nameD. nativE. query element in the XML descriptor