Here is the sample diagram
in this in the state table we do not need a foriegn key.....
moreover , please suggest...if it is fine to use the
1<column name="if_service" type="Collection" mapping-key="id"
2 entity="activity" />
to establish the foriegn key reference relation??
Please sign in to flag this as inappropriate.