[
https://issues.apache.org/jira/browse/JDO-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17622727#comment-17622727
]
Yubao Liu commented on JDO-709:
-------------------------------
correction:
{quote}
configuration file > @Convert on Java type > @Convert on field/key/value
{quote}
This should be configuration file > @Convert on field/key/value > @Convert on
Java type.
[~clr] Any plan to enable @Convert to target ElementType.TYPE as its Javadoc
describes now?
Current Javadoc describes:
{quote}
If this annotation is placed on a type, then the conversion applies to all
fields or properties whose types
match the entity type of the given \{@link AttributeConverter}.
Any \{@link Convert} annotations placed on members overrides any type-level
conversion specifications.
{quote}
> 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)