Hi,

It's really hard to understand your issue. Please refer to CacheQueryExample
[1] that shows how to execute cross-cache queries.

Most likely you get empty result because persons and organization are not
properly collocated. Note how AffinityKey class is used as a key for Person
to make sure that all persons that belong to a particalur organization are
stored on the same node where this organization is stored.

[1]
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Cross-cache-query-cannot-query-data-tp3556p3563.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to