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-1247) Support @QuerySqlField.Group annotation outside of @QuerySqlField
Date Thu, 13 Aug 2015 20:29:46 GMT
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)

Mime
View raw message