Joined: Wed Feb 01, 2006 10:33 am Posts: 15
|
I have two tables tableA and tableB each with their aID and bID primary keys.
I also have another tableC who consists of 3 fields, the two first being foreign keys aID and bID - which both make the primary key together.
My questions are these:
1) How can I tell hibernate to use both these as a combined primary key in the tableC.hbm.xml mapping file?
2) Can someone please show me in code how to write the hibernate mapping for the ID tags in tableC.hbm.xml?
|
|