Hi, If you're going to use SQL queries, you can organize your data model like you would do it in a relational database. In your case you can have departmentId field in Employee class and use this field to join tables. If you update Department, there is nothing to update in the Employee, because they are still linked with each other.
You can refer to query example [1] for better understanding. [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/Maintaining-relationships-between-tables-tp4236p4386.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
