# sprint-2 - Example fix.

Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/02e5c37a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/02e5c37a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/02e5c37a

Branch: refs/heads/ignite-sql-tests
Commit: 02e5c37a257e5279c1a739cf841309cdb272246f
Parents: 1037468
Author: Dmitiry Setrakyan <dsetrak...@gridgain.com>
Authored: Fri Feb 20 19:45:08 2015 -0800
Committer: Dmitiry Setrakyan <dsetrak...@gridgain.com>
Committed: Fri Feb 20 19:46:23 2015 -0800

----------------------------------------------------------------------
 .../org/apache/ignite/examples/datagrid/CacheQueryExample.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/02e5c37a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
----------------------------------------------------------------------
diff --git 
a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
 
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
index 5b52f49..ba14e35 100644
--- 
a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
+++ 
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
@@ -290,7 +290,7 @@ public class CacheQueryExample {
         private String resume;
 
         /** Salary (indexed). */
-        @QuerySqlField
+        @QuerySqlField(index = true)
         private double salary;
 
         /** Custom cache key to guarantee that person is always collocated 
with its organization. */

Reply via email to