Re: Caused by: class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to find SQL table for type: UserAppInfo

2017-12-04 Thread Valentin Kulichenko
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

Re: class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to find SQL table for type:

2017-12-04 Thread Alexey Kukushkin
Hi, make sure you registered key and values types with the SQL engine using CacheConfiguration#setIndexedTypes(keyClass, UserAppInfo.class)

Re: class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to find SQL table for type:

2017-12-02 Thread kcheng.mvp
@Test public void happyFlow(){ UserAppInfo userAppInfo = dynamicUserAppInfo(); userAppInfoService.put(userAppInfo); UserAppInfo userAppInfo1 = userAppInfoService.get(userAppInfo.getAppId(), userAppInfo.getUid()); Assert.assertNotNull(userAppInfo1); As

class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to find SQL table for type:

2017-12-02 Thread kcheng.mvp
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