I update my configuration as following and it is working but I am getting class cast exception
public class Employee implements Serializable { private static final long serialVersionUID = -1271194616130404625L; private transient EmployeePK key; private String sku; private String store; @QuerySqlField(index = true) private Long qty1; @QuerySqlField(index = true) private Long qty2; @QuerySqlField(index = true) private Long qty3; private Long qty4; private Long qty5; private Long qty6; } public class EmployeePK implements Serializable { private static final long serialVersionUID = -1271194616130404625L; @QuerySqlField(index = true) private String sku; @QuerySqlField(index = true) private String store; } *java.lang.ClassCastException: com.ignite.demo.models.Employee cannot be cast to com.ignite.demo.models.Employee* -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/