Regular |
|
Joined: Thu Sep 23, 2004 11:53 am Posts: 83
|
I some what understand why we should not use comppsite_ids. Though I am having a hard time creating a composite unique index. If I use one of the default generated keys ie. hilo how do I create a comopsite unique index?
this creates the compsite index...
<property name="a" type="int" not-null="true" index="INDX"/>
<property name="b" type="int" not-null="true" index="INDX"/>
<property name="c" type="int" not-null="true" index="INDX"/>
what else do I need to do to make the index unique, please include the xml to do this. ?
Thanks for your help.
|
|