Hi ,

 I am using cacheQuery.

My model have one index field 
     public class Model {
          ......
          .....
        @QuerySqlField(index = true)
        private Object sortField;
                                
}

this query works properly-

cache.query(new SqlQuery<>(Model.class, "ORDER BY sortField")).getAll();

but when I want to do some filter , for example

cache.query(new SqlQuery<>(Model.class, "sortField= ?").setArgs("10"));

It brings following CacheException-  "Failed to run map query remotely"

javax.cache.CacheException: Failed to execute map query on the node:
61a36250-d822-4696-b30c-007943966eed, class
org.apache.ignite.IgniteCheckedException:Failed to execute SQL query.

 More details -
<http://apache-ignite-users.70518.x6.nabble.com/file/t524/Screen_Shot_2017-11-24_at_1.png>
 





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to