Mapping a UNIQUE pair of keys in a MySQL table into .hbm.xml in Hibernate  
Author Message
tungchau81





PostPosted: 2004-8-21 9:36:00 Top

java-programmer, Mapping a UNIQUE pair of keys in a MySQL table into .hbm.xml in Hibernate 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