Hi all
i wanna know about hibernate mapping when we tring to import foreign
key concept in our mapping.my problem is tat i donot have any
mapping code in case of composite key. Lets have a look at an example
below:
<hibernate-mapping>
<class name="Profile_settingDAO" table="profile_setting">
<composite-id>
<key-many-to-one name="user_id" class="ProfilesDAO" column="userid" />
<key-many-to-one name="setting_name" class="SettingDAO" column="name" />
</composite-id>
<many-to-one name="setting_value" column="value" class="Setting_valueDAO" />
</class>
</hibernate-mapping>
so can anyone help me to sortout this problem.so i can move ahead.
i required sol. of this problem urgently.
u can send this reply to my own id
[email protected]