Which two options can be used to predefine Java Persistence queries for easy use?

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

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



Leave a Reply 0

Your email address will not be published. Required fields are marked *