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



Leave a Reply 0

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