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)