Hello,
I have a question to the Hibernate documentation chapter
1.3.2: A unidirectional Set-based association
(
http://www.hibernate.org/hib_docs/v3/re ... sociations).
The original table structure of the example is:
Code:
_____________ __________________
| | | | _____________
| EVENTS | | PERSON_EVENT | | |
|_____________| |__________________| | PERSON |
| | | | |_____________|
| *EVENT_ID | <--> | *EVENT_ID | | |
| EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID |
| TITLE | |__________________| | AGE |
|_____________| | FIRSTNAME |
| LASTNAME |
|_____________|
But how must the mapping files look if I add 2 columns (TIME and ROOM) to the PERSON_EVENT table?:
Regards,
TMK