|
|
От: |
Blazkowicz
|
|
| Дата: | 15.12.07 00:37 | ||
| Оценка: | |||
8.2. Collections of dependent objects
A special case of a composite element is a composite element with a nested <many-to-one> element. A mapping like this allows you to map extra columns of a many-to-many association table to the composite element class. The following is a many-to-many association from Order to Item where purchaseDate, price and quantity are properties of the association: