Tung Chau Guest
|
Posted: Sat Aug 21, 2004 1:36 am Post subject: Mapping a UNIQUE pair of keys in a MySQL table into .hbm.xml |
|
|
In my table, if I have the following UNIQUE pair of keys,
"UNIQUE (SUBJECT_AREA_ID, DISCIPLINE_ID)"
How do I represent this in .hbm.xml in Hibernate?
Is that the composit-id that I need to you?
Thanks,
Tung Chau
|
|