javax.persistence
Annotation Type Inheritance


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Inheritance

Defines 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.

Author:
Emmanuel Bernard

Optional Element Summary
 InheritanceType strategy
          The strategy to be used
 

strategy

public abstract InheritanceType strategy
The strategy to be used

Default:
javax.persistence.InheritanceType.SINGLE_TABLE