Inheritance annotation is not
specified or if no inheritance type is specified for an entity
class hierarchy, the SINGLE_TABLE mapping strategy is used.
Example:
@Entity
@Inheritance(strategy=JOINED)
public class Customer { ... }
@Entity
public class ValuedCustomer extends Customer { ... }
| Modifier and Type | Method and Description |
|---|---|
| public InheritanceType |
| strategy | back to summary |
|---|---|
| public InheritanceType strategy() The strategy to be used for the entity inheritance hierarchy. | |