[ 
https://issues.apache.org/jira/browse/IGNITE-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653921#comment-14653921
 ] 

Sergi Vladykin commented on IGNITE-1196:
----------------------------------------

Also don't forget to set indexed types on cache configuration.
Note that you have to specify them by pairs: {keyClass1, valueClass1, 
keyClass2, valueClass2,....}
For example if I put to cache Person by Integer key and Organization by Integer 
key it must look like this
{code}
CacheConfiguration ccfg = ...
ccfg.setIndexedTypes(Integer.class, Person.class, Integer.class, 
Organization.class);
{code}

> javax.cache.CacheException: class org.apache.ignite.IgniteException: Failed 
> to parse query
> ------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1196
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1196
>             Project: Ignite
>          Issue Type: Bug
>          Components: SQL
>            Reporter: cxw
>            Assignee: Sergi Vladykin
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to