Hello @franck102

Please properly subscribe to the mailing list so that the community can
receive email notifications for your messages. To subscribe, send empty
email to user-subscr...@ignite.apache.org and follow simple instructions in
the reply.

'empNo' field is a key field and is not included into stored object
(org.apache.ignite.sample.model.Employees) for usage in query

To extract that field you can use one of the following solutions:
1) Configure an own key field alias in QueryEntity instance. F.e.: 
<property name="keyFieldName" value="empNo"/>
2) Use ‘_key’ alias for the key field in qyery. F.e.: select _key from
Employees
3) Include 'empNo' field into the stored object how you described in message
from Aug 18, 2017; 9:35pm



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Confused-about-QueryEntity-configuration-tp16281p16356.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to