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

cxw commented on IGNITE-1196:
-----------------------------

here is my Person.java.

Must I used the annotation?(@QuerySqlField)

one more question, from the documentation, there are 3 ways to query cache.


Predicate-based Scan Queries
SQL Queries
Text Queries

which one need the annotation?

Person.java
-----------------------
public class Person implements Serializable {

    String name;

    Integer age;


    Integer gender;


    String p1;


    String p2;

}



> 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
>




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

Reply via email to