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 cache keys (i.e., query entity key fields) will use
the affinity key and which ones don't?

Say I have these 4 tables
Employee(company-id, employee-id)
Contractor(company-id, contractor-id)
Customer(company-id, customer-id)
Company(company-id, address)

How do I collocate employee, and contractors with companies but not the
customers and companies? Can you provide the CacheKeyConfiguration and
keyfields for each query entity?

thanks.

Reply via email to