Thanks Val, I meant #1 indeed. Using _key works. What I'd like to achieve is for users to be able to use javaNames in their queries, rather than "_key" or databaseFieldName: I consider the javaName as a public API, whereas "_key" or the database field name are implementation details that are subject to change.
But if I understand correctly there is no way to achieve that with aliases, unless I duplicate the key in the value object which I would rather not do... The aliases it seems are not used to "rewrite" incoming SQL queries, they are used to map to the binary object after the query has been executed, right? Franck -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Confused-about-QueryEntity-configuration-tp16281p16375.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.