> 1. New JIRA JDO-757 "Add @Repeatable to all annotations which can be 
> repeated" https://issues.apache.org/jira/browse/JDO-757
> 
> Looks like we are almost done here. No need to deprecate existing “repeatable 
> container” annotations. If any user really wants to use them, fine.

Well there would be zero point in deprecating them since they are required for 
@Repeatable to work, hence they can never be deleted.

> Question:
> why was ElementType.TYPE added to Column? What does this mean?

Means that when @Column annotation was originally added it was incorrect. 
@Column on a class is to define "unmapped columns" to equate to <column> just 
under <class> in XML. When adding @Repeatable the compiler tells you about such 
errors so had to be fixed (so that the singular annotation with @Repeatable is 
consistent with the container annotation).



Regards
-- 
Andy
DataNucleus (Web: http://www.datanucleus.org   Twitter: @datanucleus)

Reply via email to