You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergi Vladykin (JIRA)" <ji...@apache.org> on 2015/08/13 22:29:46 UTC

[jira] [Created] (IGNITE-1247) Support @QuerySqlField.Group annotation outside of @QuerySqlField

Sergi Vladykin created IGNITE-1247:
--------------------------------------

             Summary: Support @QuerySqlField.Group annotation outside of @QuerySqlField
                 Key: IGNITE-1247
                 URL: https://issues.apache.org/jira/browse/IGNITE-1247
             Project: Ignite
          Issue Type: Improvement
            Reporter: Sergi Vladykin


Currently usage is the following:
{code}
@QuerySqlField(orderedGroups = {@QuerySqlField.Group(name = "grp1", order = 2)})
{code}

while the more intuitive is 
{code}
@QuerySqlField
@QuerySqlField.Group(name = "grp1", order = 2)
{code}

Java 8 already allows multiple annotations of the same type, the current approach can be kept for compatibility with Java 7.



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