Здравствуйте, Sergey Doroshenko, Вы писали:
SD>Собственно вопрос:
SD>как лучше (и можно ли вообще) средствами хибернейта задать, чтобы в сущность Person при запросе project.persons добавлялась его роль из вспомогательной таблички?
RTFM
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: