We have decided earlier in our project to use infinispan through the JCache (JSR-107) api which works fine. Now however I would like to use the query api and have some questions.
1) Is it possible to use queries at all when going through the JCache API?
2) If so, how do I get hold of the cachemanager hidden in the JCacheManager class and configure it to index my classes?
I've tried but only get: "Indexing was not enabled on this cache"
We are using 6.0.0.CR1 version right now
Thankful for any help!
The querying API is not a standard API, but Infinispan specific, so I'm afraid that won't be possible.
Also in order to configure querying in Infinispan, please refer to the user manual: http://infinispan.org/docs/6.0.x/user_guide/user_guide.html#_querying_infinispan