Hello!

For that, you can use keyConfiguration property on igniteCache:

<bean class="...CacheConfiguration">
<property name="keyConfiguration">
    <list>
        <bean class="org.apache.ignite.cache.CacheKeyConfiguration">
            <property name="typeName" value="ClassNameOfKey"/>
            <property name="affinityKeyFieldName"
value="fieldNameInThatClass"/>
        </bean>
    </list>
</property>
</bean>

It is poorly documented, unfortunately, I've raised submit a ticket about
that:https://issues.apache.org/jira/browse/IGNITE-8253

Regards,




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to