@org.hibernate.annotations.Parent

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.

@org.hibernate.annotations.Parent

kann in einer Komponente verwendet werden, wenn ein Attribut die Oberklasse referenziert


Beispiel im Java-Package de.laliluna.component.collection2.PizzaClient

import org.hibernate.annotations.Parent;

@Embeddable

public class DeliveryAddress implements Serializable {

@Parent

private PizzaClient client;