ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Setrakyan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-1196) javax.cache.CacheException: class org.apache.ignite.IgniteException: Failed to parse query
Date Tue, 04 Aug 2015 16:20:04 GMT

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

Dmitriy Setrakyan edited comment on IGNITE-1196 at 8/4/15 4:19 PM:
-------------------------------------------------------------------

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
-----------------------
{code}
public class Person implements Serializable {

    String name;

    Integer age;


    Integer gender;


    String p1;


    String p2;
}
{code}



was (Author: cxw):
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)

Mime
View raw message