@javax.persistence.AttributeOverride

hibernate buch cover klein

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.

Get more information.

@javax.persistence.AttributeOverride(

Überschreibt die Spaltendefinition aus einer Oberklasse oder einem Embedded Object.

name = "color",

Attribut der Klasse

column = @Column(name = "pullover_column")

Spaltendefinition; siehe @Column Annotation

)

Beispiel: de.laliluna.component.simple.Sheep

@Embedded

@AttributeOverride(name = "color", column = @Column(name = "pullover_column"))

private Pullover pullover;