Joined: Fri Feb 01, 2008 2:31 am Posts: 1 Location: Vadodara,Gujarat,India
|
Hi,
Am new to hibernate and doing a web project based on hibernate and spring. I am facing a problem. In my database i have a table which has a field that is a foriegn key from other table and along with another field it forms the composite key. So i need your guidance to solve this problem. How am i to map these fields in the xml file and what all classes am i to create?
Also tell me how to handle this composite foreign key in other tables.
Hoping for a fast positive reply as i need it urgently.
Thanks in advance.
|
|