FileDocCategorySizeDatePackage
Inheritance.javaAPI DocGlassfish v2 API2806Fri May 04 22:34:06 BST 2007javax.persistence

Inheritance

public class 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.

Example:

@Entity
@Inheritance(strategy=JOINED)
public class Customer { ... }

@Entity
public class ValuedCustomer extends Customer { ... }
since
Java Persistence 1.0

Fields Summary
Constructors Summary
Methods Summary
javax.persistence.InheritanceTypestrategy()
The strategy to be used