Quote:
1) Do I need to go for a .hbm.xml for the link table;because I need to cascade delete the account_field_child whenever a row is deleted in account_field.
Yes, you have to model the link as an entity. Then you need a one-to-many association from Account to AccountField and a many-to-one from AccountField to Field. Additionally you can setup an one-to-one association from AccountField to AccoutFieldChild (or whatever you need here).
Quote:
2)I want to maintain unidirectional many-to-many relationship from account to field;so how to cofigure <set> in Account to specify link table in this scenario.
Somthing like that:
Account:
Code:
<set name="AccountFields">
<key column="account_id"/>
<one-to-many class="AccountField" .../>
</set>
AccountField:
Code:
<many-to-one name="Field" class="Field" column="field_id"/>
[/quote]