ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergi Vladykin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1249) Incorrect example Group index example.
Date Fri, 14 Aug 2015 10:51:45 GMT
Sergi Vladykin created IGNITE-1249:

             Summary: Incorrect example Group index example.
                 Key: IGNITE-1249
                 URL: https://issues.apache.org/jira/browse/IGNITE-1249
             Project: Ignite
          Issue Type: Bug
            Reporter: Sergi Vladykin
            Assignee: Yakov Zhdanov
            Priority: Blocker

In the following example 

we have a wrong annotation usage.
@QuerySqlField(index = true)
@QuerySqlField.Group(name = "idx1", order = 1)
private int bla;

The correct one must look like this
@QuerySqlField(index=true, orderedGroups = {@QuerySqlField.Group(name = "grp1", order = 1),
@QuerySqlField.Group(name = "grp2", order = 2)})

This message was sent by Atlassian JIRA

View raw message