Re: SqlQueryFileds on List of Binary Object

2018-08-01 Thread ezhuravlev
Hi, As for now, it's not possible to query objects if they're stored as collection like IgniteCache >, so, I'd recommend changing the way how you store objects in cache - it will be pretty the same if you will store it like IgniteCache Evgenii -- Sent from:

Re: SqlQueryFileds on List of Binary Object

2018-07-18 Thread debashissinha
Hi , The Reason is i am trying to do it though load method , which supports the read through. The requirement is to pass a set of param say Map which will contain a sql statement some query param value and the return will be the list of BinaryObject . That is against one key I want to hold all the

Re: SqlQueryFileds on List of Binary Object

2018-07-18 Thread Ilya Kasnacheev
Hello! Why do you try to store List in cache? It should work if you will just put plain BinaryObject's in it without List<>. Regards, -- Ilya Kasnacheev 2018-07-18 17:42 GMT+03:00 debashissinha : > Hi , > > If I add a List to cache and also in the cache configuration > I > set QueryEntity

SqlQueryFileds on List of Binary Object

2018-07-18 Thread debashissinha
Hi , If I add a List to cache and also in the cache configuration I set QueryEntity with fields, then how can I query using cache.query(new SqlFieldQuery("Some sql")); Sample I am trying to use is CacheConfiguration> cfg = new CacheConfiguration(); cfg.setQueryEntities(new ArrayList(){{