I have a table [Trading Partners]
BOMID -- PK
ID -- PK
PartnerID -- PK
Is the following TradingPartner.hbm.xml is correct??
<key column="id"/> IS THIS REQUIRED..
Please correct me, if i somthing is missing..
Also is it necessary to have element in .hbm.xml file..
I may not need a column, which is auto generated..
If its there, how can i give my own value, [unique key which i would want to generate/set] & not hibernate's node.
All the required values for each of the column will be set in code/application..
Any help would be highly appreciated..
Thanks in Advance.