Hi nHibernate Experts:
this is perhaps a very specific request, but nevertheless, I am trying to
implement it: I need indices that are built over multiple columns, where
the columns are part of the composite id.
I can manage to build an index over multiply normal property columns,
(in my example the blobindex), but when I try to build an index
overcomposite-id columns, I allways get strange exceptions
(in my example the symboltopicindex)
Any Ideas?
<class name="BlockInfo,Test.Data" table="tsblockinfo" >
<composite-id>
<key-property name="symbol" type="String(50)" index="symboltopicindex" />
<key-property name="topic" type="String(50)" index="symboltopicindex" />
<key-property name="blockid" />
</composite-id>
<property name="blob_id" index="blobindex"/>
<property name="blob_alpha" index="blobindex"/>
</class>
Florian.
|