You can try to add "collocated=true" parameter to your JDBC connection string. But it will affect all queries that will be executed via your JDBC connection.
On Tue, May 9, 2017 at 7:25 PM, Ajay <[email protected]> wrote: > Hi > > Thanks quick reply,i did subscription. > > Coming to question: > > I loaded data using affinity key, so all keys with the same affinityKey will > store in same node right? If yes now i want to select specific key, i > observed in logs query was executed in both servers.If data reside in single > node why query executed in both servers, is there any way to execute query > on data reside node instead of all nodes. > > > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/How-to-execute-ignite-jdbc-query-on-specific-node-tp12562p12567.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com.
