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

2016-10-27 Thread Andy Jefferson (JIRA)

 [ 
https://issues.apache.org/jira/browse/JDO-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Jefferson updated JDO-757:
---
Attachment: jdo-757-test.patch

Attached is a test for use of @Repeatable marked annotations, to check that it 
is really invisible to a JDO provider (i.e no changes needed). 

Spec and API are already updated in SVN

> 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
>
> Attachments: jdo-757-test.patch
>
>
> 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)


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

2016-10-27 Thread Andy Jefferson (JIRA)
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)