Oracle
1Z0-860 · Question #273
Which statement about the @MappedSuperclass annotation is correct?
The correct answer is C. A class annotated with @MappedSuperclass has no separate table defined for it. See the full explanation below for the reasoning.
Question
Which statement about the @MappedSuperclass annotation is correct?
Options
- AA class annotated with @MappedSuperclass must be abstract.
- BSubclasses of entity classes cannot be annotated with @MappedSuperclass.
- CA class annotated with @MappedSuperclass has no separate table defined for it.
- DA class annotated with @MappedSuperclass can be the target of queries like any other entity class.
How the community answered
(34 responses)- A3% (1)
- B3% (1)
- C82% (28)
- D12% (4)
Community Discussion
No community discussion yet for this question.