@javax.persistence.Inheritance

Extract of the annotation reference in the Hibernate Developer Guide by example
Extensive, easy-to-follow introduction to Hibernate 3 including complete working examples. Integration of Hibernate with other technologies like Spring, EJB3, Struts and JavaServer Faces (MyFaces) is explained.
It is available as PDF in English language.
A German paper book was published by the Galileo Verlag.
|
@javax.persistence.Inheritance( |
legt eine Klasse als Oberklasse einer |
|
strategy = InheritanceType.SINGLE_TABLE |
legt die Strategie für das Mapping fest:
|
|
) |
Beispiel im Java-Package de.laliluna.inheritance.* |
|
@Entity @Inheritance(strategy @DiscriminatorColumn(name public
@Entity public |
|