You tell the query entity that your key field is a String but it’s actually an integer. entity.setKeyType("java.lang.String"); Should be: entity.setKeyType(Integer.class.getName());
> On 27 May 2021, at 02:20, tankmarshal <tankmars...@163.com> wrote: > > full config file, and test code will be put here. > server-config2.xml > <http://apache-ignite-users.70518.x6.nabble.com/file/t3162/server-config2.xml> > > IgniteClients.java > <http://apache-ignite-users.70518.x6.nabble.com/file/t3162/IgniteClients.java> > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/