Basket |
This entity class provides an example of mapping a collection of non-entity/embeddable class instances
to a dependent/child table and relating the child table to this entity table using a foreign key.
|
Bus |
This entity class provides an example of the one side of a one-to-many, uni-directional relation
that is realized through a JoinTable.
|
Produce |
This class is an example of a non-entity class that will be mapped to a dependent table
and form the many side of an @ElementCollection.
|
Rider |
This class provides an example of an entity class on the many side of a one-to-many,
uni-directional relationship that will be referenced through a JoinTable.
|
Route |
This class provides an example of the one side of a one-to-many, uni-directional relationship
mapped using a foreign key inserted into the child/many table.
|
Stop |
This class provides an example of the many side of a one-to-many, uni-directional relationship
mapped using a foreign key in the child entity table.
|
Suspect |
This class provides an example of the owning side of a collection of base data types.
|
Todo |
This class is an example of the many side of a one-to-many, uni-directional relationship
which uses orphanRemoval of target entities on the many side.
|
TodoList |
This class provides an example owning entity in a one-to-many, uni-directional relationship
where the members of the collection are subject to orphanRemoval when they are removed from the
collection.
|