Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Mapping documents:
I made hbm.xml file that is
<id name="keyword" type="string" unsaved-value="0">
<column name="KEYWORD" length="100" not-null="true" index="iSynonym_keyword_index"/>
<generator class="assigned"/>
</id>
cause of making index for KEYWORD column.
but I can't make index that has two attribute for primary key ( super key )
read that below..
<composite-id>
<key-property name="collectionID" type="string" length="100"/>
<key-property name="keyword" type="string" length="100"/>
</composite-id>
I can't write english well, but I guess you will understand the question.