You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Andy Jefferson (JIRA)" <ji...@apache.org> on 2016/10/27 12:44:58 UTC

[jira] [Created] (JDO-757) Add @Repeatable to all annotations which can be repeated

Andy Jefferson created JDO-757:
----------------------------------

             Summary: Add @Repeatable to all annotations which can be repeated
                 Key: JDO-757
                 URL: https://issues.apache.org/jira/browse/JDO-757
             Project: JDO
          Issue Type: Improvement
          Components: api
            Reporter: Andy Jefferson
             Fix For: JDO 3.2


Since JDO 3.2 is for a minimum of Java 8, we can make annotations more usable by adding @Repeatable so that instead of 

@Extensions({@Extension(vendorName="datanucleus",key="option1",value="val"),@Extension(vendorName="datanucleus",key="option2",value="val")})

the user can specify
@Extension(vendorName="datanucleus", key="option1", value="val")
@Extension(vendorName="datanucleus", key="option2", value="val")

This should be done to all annotations that have an associated plural with "value" attribute



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