Specifies the inheritance mapping strategy for the entity class
hierarchy, which descends from the annotated entity class.
Specifies the inheritance strategy to be used for an entity class
hierarchy. It is specified on the entity class that is the root of
the entity class hierarchy. This class can be either a regular or
an abstract; The NoSQL database structure will have a column for
every attribute of every class in the hierarchy. The subclass will
use the
Entity
name from that class with this annotation.
Example:
@Entity
@Inheritance
public class Notification { ... }
@Entity
public class SMSNotification extends Notification { ... }
- Since:
- 1.0.0