Re: Query Entity and Affinity Key

2020-03-17 Thread Evgenii Zhuravlev
Hi, CacheKeyConfiguration can be defined on CacheConfiguration level: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/CacheConfiguration.html#setKeyConfiguration-org.apache.ignite.cache.CacheKeyConfiguration...- пн, 16 мар. 2020 г. в 20:07, narges saleh : > Atta

Re: Query Entity and Affinity Key

2020-03-16 Thread narges saleh
Attached. thanks. On Mon, Mar 16, 2020 at 8:28 PM Evgenii Zhuravlev wrote: > Hi, please share the whole config file > > пн, 16 мар. 2020 г. в 15:38, narges saleh : > >> Thanks Evgenii for the reply. >> How do I do that in XML configuration file if my query entities are >> defined solely in the x

Re: Query Entity and Affinity Key

2020-03-16 Thread Evgenii Zhuravlev
Hi, please share the whole config file пн, 16 мар. 2020 г. в 15:38, narges saleh : > Thanks Evgenii for the reply. > How do I do that in XML configuration file if my query entities are > defined solely in the xml file? What does ClassNameOfKey and > fieldNameinThatClass represent? I assume I will

Re: Query Entity and Affinity Key

2020-03-16 Thread narges saleh
Thanks Evgenii for the reply. How do I do that in XML configuration file if my query entities are defined solely in the xml file? What does ClassNameOfKey and fieldNameinThatClass represent? I assume I will have one bean for each cache. And

Re: Query Entity and Affinity Key

2020-03-16 Thread Evgenii Zhuravlev
Hi, You should have one cache per table(query entity) and configure separate CacheKeyConfigurations for each of the caches. Evgenii пн, 16 мар. 2020 г. в 11:42, narges saleh : > Hi All, > > I have a question that might be trivial. > If I define my query entity for each in the XML configuration

Query Entity and Affinity Key

2020-03-16 Thread narges saleh
Hi All, I have a question that might be trivial. If I define my query entity for each in the XML configuration file and define the affinity key via CacheKeyConfiguration (again in the xml file), considering that here affinity key is defined at IgniteConfiguration level, how do I specify which cach