All Classes
-
Class Summary Class Description Applicant The class provides a set of OneToOne relationship examples.Author This class provides an example of one end of a ManyToMany relationship.Borrower This class forms a uni-directional, one-to-one relationship with the Person class, joined by common primary keys.Checkout Door This class provides an example use of a composite @EmbeddedId primary key where one of the properties of the Embeddable is re-used as a foreign key.DoorPK House Inventory This class is used as an example of a @OneToMay, using a join table.Library This class provides an example of using the java.util.Map with relationships.ManyManyEntity This class represents a stand-alone object in a Many-to-Many, uni-directional relationship.ManyManyInverseEntity This class represents a the inverse side of a Many-to-Many bi-directional relationship stored as a Map.ManyManyOwningEntity This class represents the owning side of a Many-to-Many, bi-directional and uni-directional relationship.Media This class represents a media topic, for which there are many copies and authors.MediaCopy This class provides an example of a ManyToOne mapping.MediaCopy2 This version of MediaCopy uses the @MapsId annotation to link the relationship and primary key properties together.MediaCopyPK MediaCopyPK2 Mortgage This class provides an example use of a composite @EmbeddedId primary key where one of the properties of the Embeddable is derived from foreign key.MortgagePK OneManyChild This class represents a child in a One-to-Many, uni-directional relationship, relative to the parent.OneManyChild This class implements the many side of a uni-directional One-to-Many relationship.OneManyInverseParent This class represents a parent in One-to-Many, bi-directional relationship.OneManyOwningChild This class represents the child in a One-to_Many, uni-directional and bi-directional relationship.OneManyOwningParent This class represents a parent in a One-to-Many, uni-directional relationship, relative to the parent.OneManyOwningParent This class implements a parent in a OneToMany, uni-directional relationship test case.Person This class provides an example of the owning side of a OneToOne Uni-directional relationship.Photo This class provides an example of the "inverse side" of a OneToOne Uni-directional relationship.Resident This class provides an example use of a composite @IdClass primary key where one of the properties of the IdClass is derived from the foreign key.ResidentPK Room This class provides an example use of a composite @IdClass primary key where one of the properties of the IdClass is re-used as a foreign key.RoomPK WantList This class is an example of a uni-directional ManyToMany relationship.