[
https://issues.apache.org/jira/browse/IGNITE-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653950#comment-14653950
]
cxw edited comment on IGNITE-1196 at 8/4/15 4:51 PM:
-----------------------------------------------------
Thank you very much.
after add the annotation, it works as expected.
By the way I have some questions
1: from the error message, it seem it stores the data in the h2 memory
database. my question is that only the the attributes with the annotation
ignite will store the data in the h2 database ? if like this, so what's the
best practice when I want to use sql query?
2:
in the document it address there are three methods to query the cache. for each
way i have a question as below.
Predicate-based Scan Queries ---> need the entity class file resident all the
node?
SQL Queries --> my guess for this case no need to make the entity class
resident the nodes as it just a simple sql query, right?
Text Queries --> need the cache entity resident all the node?
Thanks,
Ken
was (Author: cxw):
Thank you very much.
after add the annotation, it works as expected.
By the way I have some question question
1: from the error message, it seem it store the data in the h2 memory database.
only the the attributes with the annotation ignite will store the data in the
h2 database. if like this, so what's the best practice when I want to use sql
query?
2:
in the document it address there are three methods to query the cache. for each
way i have a question as below.
Predicate-based Scan Queries ---> need the cache entity resident all the node?
SQL Queries --> my guess for this case no need to make the entity class
resident the nodes as it just a simple sql query, right?
Text Queries --> need the cache entity resident all the node?
Thanks,
Ken
> 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)