You did not set CacheConfiguration#indexedTypes property. See documentation
for more details:
https://apacheignite.readme.io/docs/cache-queries#query-configuration-by-annotations
-Val
On Sat, Dec 2, 2017 at 12:24 AM, kcheng.mvp wrote:
> by the way, here is my maven dependency.
>
> the unit test
Hi, make sure you registered key and values types with the SQL engine
using CacheConfiguration#setIndexedTypes(keyClass, UserAppInfo.class)
@Test
public void happyFlow(){
UserAppInfo userAppInfo = dynamicUserAppInfo();
userAppInfoService.put(userAppInfo);
UserAppInfo userAppInfo1 =
userAppInfoService.get(userAppInfo.getAppId(), userAppInfo.getUid());
Assert.assertNotNull(userAppInfo1);
As
I run into above exception when I do a SQLQuery. but it's works well with
put/get.
I have below dependency
2.3.0
org.apache.ignite
ignite-core
${ignite.version}
org.apache.ignite
ignite-spring
${ignite