@javax.persistence.DiscriminatorColumn

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. DiscriminatorColumn( |
wird mit der Vererbungsstrategie |
|
name = “plant_type”, |
Spaltenname der Discriminator Spalte |
|
discriminatorType = DiscriminatorType.STRING, |
legt fest, wie der Discriminator Wert |
|
columnDefinition=“varchar(31)”, |
optional, SQL-Typ |
|
length=20 |
L�nge der Spalte; Vorgabewert 31 |
|
) |
Beispiel im Java-Package |
|
@DiscriminatorColumn(name |
|