Hi siva, modifying QueryEntity configuration of existing cache is not possible. Also, having multiple model classes per cache is not recommended. The recommended way is to create a new cache for every new model/entity, and have one QueryEntity per cache. Note that you can achieve all the same queries with multiple caches, like joins across many entities and so on.
You can manipulate SQL tables for existing caches with DML, though, which is almost what you ask for: https://apacheignite-sql.readme.io/docs/schemas https://apacheignite-sql.readme.io/docs/create-table Thanks, Pavel On Mon, Sep 23, 2019 at 6:27 PM siva <[email protected]> wrote: > Hi, > we have implemented .net core server with 3rd party and native persistence > enabled & .net core thick client to create caches and thinclient to perform > crud/sql operations to the grid from multiple applications > > we are creating single cache for multiple models classes and working > fine.But problem is if we want to add new model class which should be > queriable as old model classes to the existing cache since we are > registering QueryEntities at the time of create cache. > > *so, how to update QueryEntities property of CacheConfiguration with New > QueryEntity Model class for existing/already created cache?* > > > Created Cache by using bellow obejct: > > > > I have tried like > > > > But still not effected ,QueryEntities property still list of two > QueryEntity classes only > > > > Thanks > siva > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
