1. I am not sure that "ORDER BY" works the way you expect ). Very probably it
sorts by some object hash instead casting it to the specific derived type.
2. I don't think you can do it directly. But there are two workaround
options here:
a) keep Object as is, create a new String field just for searching/ordering,
i.e.
@QuerySqlField(index = true)
private String sortFieldKey;
private Object sortField;
b) you can have several caches for each dynamic type you have
Thanks,
Alexey
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/