Which statement about the @MappedSuperclass annotation is correct?

Which statement about the @MappedSuperclass annotation is correct?

Which statement about the @MappedSuperclass annotation is correct?

A.
A class annotated with @MappedSuperclass must be abstract.

B.
Subclasses of entity classes cannot be annotated with @MappedSuperclass.

C.
A class annotated with @MappedSuperclass has no separate table defined for it.

D.
A class annotated with @MappedSuperclass can be the target of queries like any other entity
class.



Leave a Reply 0

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