[
https://issues.apache.org/jira/browse/JDO-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618356#comment-17618356
]
Yubao Liu commented on JDO-709:
-------------------------------
> It looks like we do not need the @Target(ElementType.TYPE,...) on the
> @Convert annotation either.
What's the alternative solution? I use Java annotation processor to generate a
lot of types, would like to have @Convert(converter = some.class) on these
types. It's annoying to list them in some configuration file or even embed
@Persist to a lot of class fields.
BTW, the javadoc on @Convert still says it can apply to type...
> Standardize field/property converters
> -------------------------------------
>
> Key: JDO-709
> URL: https://issues.apache.org/jira/browse/JDO-709
> Project: JDO
> Issue Type: New Feature
> Components: api, specification, tck
> Reporter: Matthew T. Adams
> Assignee: Craig L Russell
> Priority: Minor
> Labels: converstion, converter, jdo, type, type-converter
> Fix For: JDO 3.2
>
> Attachments: JDO-709-01.patch, JDO-709-3.patch, JDO-709-4.patch
>
>
> This request is to standardize a user's ability to specify conversions of
> fields or properties of persistence-capable classes. Currently, this is left
> to vendor extensions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)