posted 18 years ago
Hi All,
I have a table [Trading Partners]
Is the following TradingPartner.hbm.xml is correct??
Please correct me, if i somthing is missing..
Also is it necessary to have <id> element in .hbm.xml file..
<id name="id" column="uid" type="long">
<generator class="hilo"/>
</id>
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 <generator> 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.
/Shridhar..